[libvirt] [PATCH v2 00/11] qemu: Fix <shareable/> disks for new qemu

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


On Wed, Nov 22, 2017 at 11:56:43AM +0100, Peter Krempa wrote:
>Introduction of the disk image locking in qemu created a regression
>where disk shared access with <shareable/> would not work.
>
>Since the disk locking is a desired feature, allow libvirt to configure
>qemu in such way that <shareable/> disks are exempt from write locks.
>
>First few patches refactor some stuff so that it's less ugly.
>

Thank you.

>This series also mandates that sharing is used only with 'raw' disks
>since other formats could corrupt metadata.
>
>v2:
>- better capability detection (all the drive types)
>- fixed bug when share-rw would be used only with virtio disks
>- improved error message with automatic format probing
>- rebased to current master (new capability)
>- added BZ links into few cover letters
>
>Peter Krempa (11):
>  qemu: Move snapshot disk validation functions into one
>  qemu: domain: Despaghetify qemuDomainDeviceDefValidate
>  qemu: domain: Move hostdev validation into separate function
>  qemu: domain: Move video device validation into separate function
>  qemu: domain: Refactor domain device validation function
>  qemu: block: Add function to check if storage source allows concurrent
>    access
>  qemu: domain: Reject shared disk access if backing format does not
>    support it
>  qemu: snapshot: Disallow snapshot of unsupported shared disks
>  qemu: Disallow pivot of shared disks to unsupported storage
>  qemu: caps: Add capability for 'share-rw' disk option
>  qemu: command: Mark <shared/> disks as such in qemu
>

ACK series

Jan
-------------- 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/d9af4fc3/attachment-0001.sig>


More information about the libvir-list mailing list