[libvirt] [PATCH v2 7/7] qemu: Format 'write-cache' parameter for disk frontends

Ján Tomko jtomko at redhat.com
Wed Apr 18 11:17:48 UTC 2018


On Wed, Apr 18, 2018 at 11:38:47AM +0200, Peter Krempa wrote:
>The disk cache mode translates to various frontend and backend
>attributes for the qemu block layer. For the frontend device the
>'writeback' parameter is used and provided as 'write-cache'. Implement
>this so that we can later switch to using -blockdev where we will not
>pass the cachemode directly any more.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_command.c                            | 27 ++++++++++++++++++++++
> .../disk-drive-write-cache.new.args                | 10 ++++----
> 2 files changed, 33 insertions(+), 4 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

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/20180418/25e7b9a9/attachment-0001.sig>


More information about the libvir-list mailing list