]> git.ipfire.org Git - thirdparty/qemu.git/commit
Migration: Generate the completed event only when we complete
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 13 Oct 2015 11:21:27 +0000 (12:21 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 21 Oct 2015 16:28:59 +0000 (11:28 -0500)
commitf62c10bd206b81644336f7e3c071ed76eab61ce6
treed7f5a17c3e8082ab14408533ad1dd80051114936
parent8c4fa92d010db2ac88ed7a9e5bb51bbe43019872
Migration: Generate the completed event only when we complete

The current migration-completed event is generated a bit too early,
which means that an eager libvirt that's ready to go as soon
as it sees the event ends up racing with the actual end of migration.

This corresponds to RH bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1271145

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
xSigned-off-by: Juan Quintela <quintela@redhat.com>
(cherry picked from commit ed1f3e0090069dcb9458aa9e450df12bf8eba0b0)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
migration/migration.c