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

Ján Tomko jtomko at redhat.com
Thu Apr 19 08:11:33 UTC 2018


On Wed, Apr 18, 2018 at 05:33:38PM +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.x86_64-2.7.0.args       | 10 ++++----
> .../disk-drive-write-cache.x86_64-latest.args      | 10 ++++----
> 3 files changed, 39 insertions(+), 8 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/20180419/388daf38/attachment-0001.sig>


More information about the libvir-list mailing list