summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorJohn Garbutt <john.garbutt@citrix.com>2012-09-07 12:17:48 +0100
committerMate Lakat <mate.lakat@citrix.com>2012-09-10 16:04:10 +0100
commit4c72bfc8856ace121ab389279479c9afc1b5960b (patch)
tree8bafae6b27cf4c79ac61112a5c4c136a23b8fec6 /nova/openstack
parent28a5b31bdbff7ed4492f8a6ca8e7e53a7aba0893 (diff)
downloadnova-4c72bfc8856ace121ab389279479c9afc1b5960b.tar.gz
nova-4c72bfc8856ace121ab389279479c9afc1b5960b.tar.xz
nova-4c72bfc8856ace121ab389279479c9afc1b5960b.zip
xapi: Fix live block migration
Fixes bug 1040332. Xapi VM.migrate_send and VM.assert_can_migrate calls require that vdi_map parameter is a (source_vdi_ref -> target_sr_ref) mapping, for block live migration to work, as of XenServer 6.0 RC1. On the destination side: This fix modifies the check_can_live_migrate_destination call, so that the value returned contains the "destination_sr_ref" (XenAPI specific data is stored under the "migrate_send_data key"). On the source side: check_can_live_migrate_source and live_migrate calls assemble the vdi_map by mapping all the local sr contained vdis of the VM to destination_sr_ref, and passing this parameter to the VM.migrate_send and VM.assert_can_migrate Xapi calls. Change-Id: I95f3dca651d2e72fc727646580092a25f558d6ba
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions