]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Clear async job when p2p migration fails early
authorJiri Denemark <jdenemar@redhat.com>
Wed, 17 Oct 2012 12:08:17 +0000 (14:08 +0200)
committerCole Robinson <crobinso@redhat.com>
Thu, 18 Oct 2012 17:35:00 +0000 (13:35 -0400)
commit77cecd2bc306416d985230bb29be916126945f65
tree154ebe0e95e2ea4e6ad03723ee3aa78e9190d955
parent29a2a911870ed2e08eaa9c531bc0a71b6a82c5ca
qemu: Clear async job when p2p migration fails early

When p2p migration fails early because qemuMigrationIsAllowed or
qemuMigrationIsSafe say migration should be cancelled, we fail to clear
the migration-out async job. As a result of that, further APIs called
for the same domain may fail with Timed out during operation: cannot
acquire state change lock.

Reported by Guido Winkelmann.
(cherry picked from commit 837993d845a32bb222959a84d1c03a0c47f785be)
src/qemu/qemu_migration.c