libvirt/tests/qemuxml2startupxmloutdata
Peter Krempa a801f0e79b qemu: domain: Move initialization of disk cachemode for <shareable> disks
The qemu command line generator code set disk caching of shareable disks
to 'none' when formatting the command line silently. Move this code to a
common place when preparing the domain definition for startup so that it
does not have to be duplicated.

The new test case shows that the actual cache mode will now be recorded
in the live XML definition.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
2018-04-03 15:48:38 +02:00
..
disk-drive-shared.xml qemu: domain: Move initialization of disk cachemode for <shareable> disks 2018-04-03 15:48:38 +02:00