xenapi: Support live migration without pools
Implement blueprint xenapi-live-block-migration. Add ability to live migrate VMs to hosts that are not a part of a host aggregate (block migration). This requires XenServer 6.1/later, or XCP 1.6/later. As of this change, we still do not support instances with (nova/cinder) volumes attached. External kernels are also not supported. Change-Id: I5feb6756d78804aa37780a7d0cda1600f7060afe
This commit is contained in:
@@ -337,7 +337,8 @@ class ComputeDriver(object):
|
||||
raise NotImplementedError()
|
||||
|
||||
def live_migration(self, ctxt, instance_ref, dest,
|
||||
post_method, recover_method, block_migration=False):
|
||||
post_method, recover_method, block_migration=False,
|
||||
migrate_data=None):
|
||||
"""Live migration of an instance to another host.
|
||||
|
||||
:params ctxt: security context
|
||||
@@ -352,6 +353,8 @@ class ComputeDriver(object):
|
||||
recovery method when any exception occurs.
|
||||
expected nova.compute.manager.recover_live_migration.
|
||||
:params block_migration: if true, migrate VM disk.
|
||||
:params migrate_data: implementation specific params.
|
||||
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user