Use migrate_data.block_migration instead of block_migration
Since nova can calculate block_migration we might end up with
a case where block_migration is None while migrate_data.block_migration
is True.
Both drivers that support block live migration, Libvirt and Xenapi,
use migrate_data.block_migration already, so we should switch to use
it everywhere, instead of in drivers only.
Reviewed: https:/ /review. openstack. org/287363 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=4378b4fa43a a966aee8ddee77d 5220e9c4476b5a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4378b4fa43aa966 aee8ddee77d5220 e9c4476b5a
Author: Pawel Koniszewski <email address hidden>
Date: Fri Mar 11 16:32:21 2016 +0100
Use migrate_ data.block_ migration instead of block_migration
Since nova can calculate block_migration we might end up with data.block_ migration
a case where block_migration is None while migrate_
is True.
Both drivers that support block live migration, Libvirt and Xenapi, data.block_ migration already, so we should switch to use
use migrate_
it everywhere, instead of in drivers only.
Change-Id: Iaa8aea3cb58ed0 864a6a38d4a1636 49f52e32c5c
Closes-Bug: #1552303