]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: migration: fix race on cancelling drive mirror
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Fri, 7 Apr 2017 11:06:25 +0000 (14:06 +0300)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 27 Apr 2017 12:38:29 +0000 (14:38 +0200)
commitbc82d1eaf66bfdfde80a64e7feedb60c6d1d2505
tree28cf47641090bdbff81e5d0bbe14352664034af8
parentdd8e40790be7c88b476a93e2fa63fe086caa0cf8
qemu: migration: fix race on cancelling drive mirror

0feebab2 adds calling qemuBlockNodeNamesDetect for completed job
on updating block jobs. This affects cancelling drive mirror logic as
this function drops vm lock. Now we have to recheck all disks
before the disk with the completed block job before going
to wait for block job events.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_migration.c