]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Mark <shared/> disks as such in qemu
authorPeter Krempa <pkrempa@redhat.com>
Wed, 15 Nov 2017 14:21:14 +0000 (15:21 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 23 Nov 2017 17:26:48 +0000 (18:26 +0100)
commit28907b0043fbf71085a798372ab9c816ba043b93
tree6e260479aa1125c8b8a7f981aa99ce542ecdd94a
parent860a3c4bea1d24773d8a495f213d5de3ac48a462
qemu: command: Mark <shared/> disks as such in qemu

Qemu has now an internal mechanism for locking images to fix specific
cases of disk corruption. This requires libvirt to mark the image as
shared so that qemu lifts certain restrictions.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1378242
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared-locking.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared-locking.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c