]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: block: Format cache modes for disk storage backends
authorPeter Krempa <pkrempa@redhat.com>
Wed, 25 Apr 2018 15:04:35 +0000 (17:04 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 7 May 2018 13:34:11 +0000 (15:34 +0200)
commitde5a15bc3dffce8f0eb99c00d37552bbf857ec3a
tree2649d01ab0121b94f8f2641ed9512a6f736b2bc9
parent58505900c519db188a0a5166e960b712ace8ac4c
qemu: block: Format cache modes for disk storage backends

When used directly with blockdev-add/-blockdev the cache mode will need
to be specified directly for every image rather than just for the disk
itself. This implements the backing options 'direct' and 'no-flush'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_block.c