]> git.proxmox.com Git - mirror_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)
committerJuan Quintela <quintela@redhat.com>
Thu, 15 Oct 2015 06:12:02 +0000 (08:12 +0200)
commited1f3e0090069dcb9458aa9e450df12bf8eba0b0
tree11319ac5eeb87f93fecff1cabbc7a24c869d3eb1
parentc49d3411faae8ffaab8f7e5db47405a008411c10
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>
migration/migration.c