On Thu, Mar 29, 2018 at 01:51:11PM +0200, Peter Krempa wrote:
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(a)redhat.com>
---
src/qemu/qemu_command.c | 2 --
src/qemu/qemu_domain.c | 11 +++++++++++
tests/qemuxml2startupxmloutdata/disk-drive-shared.xml | 2 +-
3 files changed, 12 insertions(+), 3 deletions(-)
ACK
Jano