[Bug 531741] [NEW] <driver cache='none'/> disappears after adding
Benjamin Jencks
ben at bjencks.net
Thu Mar 4 05:59:24 GMT 2010
Public bug reported:
Steps to reproduce:
1. Start with powered off VM.
2. Use 'virsh edit domain' to add the line <driver cache='none'/> to each <disk> clause.
3. Run 'virsh dumpxml domain' and note that the cache lines you just added have disappeared.
4. Start the domain and look at the kvm command line. It includes the cache=none option on the appropriate -disk options.
5. Stop the domain.
6. Use 'virsh edit domain' to make an unrelated change (e.g. memory size).
7. Because the <driver cache='none'/> lines were no longer there, the cache options are removed next time the domain is booted.
Expected behavior:
The <driver cache='none'/> line stays in the file just like every other valid option.
I'm really confused as to where libvirt is storing the fact that I
disabled the cache, since it does take effect despite disappearing from
the XML file.
Ubuntu Karmic, libvirt 0.7.0-1ubuntu13.
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
--
<driver cache='none'/> disappears after adding
https://bugs.launchpad.net/bugs/531741
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
More information about the Ubuntu-server-bugs
mailing list