[libvirt] [PATCH 14/14] qemu: domain: Move initialization of disk cachemode for <shareable> disks

Ján Tomko jtomko at redhat.com
Sat Mar 31 12:38:59 UTC 2018


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180331/85e7d5db/attachment-0001.sig>


More information about the libvir-list mailing list