]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: snapshot: Check for block jobs individually
authorPeter Krempa <pkrempa@redhat.com>
Mon, 30 Mar 2015 18:16:45 +0000 (20:16 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 2 Apr 2015 08:37:47 +0000 (10:37 +0200)
commitc2a81eb7e16309634864843c3aacb75be9023f70
treec93d7733b090dbfc25b3129ac54c64326cd904a6
parent15e61034a556ba37df412603c4385fb18237b625
qemu: snapshot: Check for block jobs individually

If any disk of a VM was involved in a (copy) block job we refused to do
a snapshot. As not only copy jobs interlock snapshots and the
interlocking is applicable to individual disks only we can make the
check in a more individual fashion and interlock all block job types
supported by libvirt.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1203628
src/qemu/qemu_driver.c