[libvirt] [PATCH v2 07/11] qemu: domain: Reject shared disk access if backing format does not support it

Ján Tomko jtomko at redhat.com
Thu Nov 23 17:09:01 UTC 2017


On Wed, Nov 22, 2017 at 11:56:50AM +0100, Peter Krempa wrote:
>Disk sharing between two VMs may corrupt the images if the format driver
>does not support it. Check tha the user declared use of a supported

s/tha/that/g

>storage format when they want to share the disk.
>
>Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1511480
>---
> src/qemu/qemu_domain.c                             | 27 +++++++++++++++++++++
> .../qemuxml2argv-disk-drive-shared-qcow.xml        | 28 ++++++++++++++++++++++
> .../qemuxml2argv-disk-drive-shared.args            |  2 +-
> .../qemuxml2argv-disk-drive-shared.xml             |  2 +-
> tests/qemuxml2argvtest.c                           |  1 +
> 5 files changed, 58 insertions(+), 2 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared-qcow.xml
>
-------------- 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/20171123/9c060972/attachment-0001.sig>


More information about the libvir-list mailing list