]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Properly reset non-p2p migration
authorJiri Denemark <jdenemar@redhat.com>
Wed, 26 Apr 2017 19:46:28 +0000 (21:46 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 27 Apr 2017 11:55:46 +0000 (13:55 +0200)
commiteeb2feb9fbb66ea9026edc6451018fb3b94ffa58
tree3505e853cf53a2291d04b35e7caa218949749e38
parent81bbdafb962f4e5f7699f63071ad84fb34cf353d
qemu: Properly reset non-p2p migration

While peer-to-peer migration enters the Confirm phase even if the
Perform phase fails, the client which initiated a non-p2p migration will
never call virDomainMigrateConfirm* API if the Perform phase failed.
Thus we need to explicitly reset migration before reporting a failure
from the Perform phase API.

https://bugzilla.redhat.com/show_bug.cgi?id=1425003

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