]> 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)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 17 Oct 2012 13:43:38 +0000 (15:43 +0200)
commit837993d845a32bb222959a84d1c03a0c47f785be
tree6fc2c23e1530351401594c5e170e9d9be6ca6883
parent1e7ec88d9a8f9332e422511e73f0f7a9d6f7267a
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.
src/qemu/qemu_migration.c