commit 584a44f0157e84ce0100da6ee4f7b94bbb4088e3
Author: Daniel P. Berrange <email address hidden>
Date: Wed Jan 28 17:46:55 2015 +0000
libvirt: remove pointless loop after live migration finishes
The libvirt 'migrateToURI' API(s) all block the caller until the
live migration operation has completed. As such, the timer call
used to check if live migration has completed is entirely pointless.
It appears this is code left over from the very first impl of live
migration in Nova, when Nova would simply shell out to the 'virsh'
command instead of using the libvirt APIs. Even back then though
it looks like it was redundant, since the command being spawned
would also block until live migration was finished.
Reviewed: https:/ /review. openstack. org/151663 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=584a44f0157 e84ce0100da6ee4 f7b94bbb4088e3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 584a44f0157e84c e0100da6ee4f7b9 4bbb4088e3
Author: Daniel P. Berrange <email address hidden>
Date: Wed Jan 28 17:46:55 2015 +0000
libvirt: remove pointless loop after live migration finishes
The libvirt 'migrateToURI' API(s) all block the caller until the
live migration operation has completed. As such, the timer call
used to check if live migration has completed is entirely pointless.
It appears this is code left over from the very first impl of live
migration in Nova, when Nova would simply shell out to the 'virsh'
command instead of using the libvirt APIs. Even back then though
it looks like it was redundant, since the command being spawned
would also block until live migration was finished.
Related-bug: #1414065 6f7c0e980774e4e d76b3f93a38
Change-Id: Ib3906ef8564a98