diff --git a/lib/hypervisor/hv_xen.py b/lib/hypervisor/hv_xen.py index 0aa956032acc0950f88a46d04d0130ce41a61d97..6da7f1a2b78a15ef86b016e00304b1ce0947d025 100644 --- a/lib/hypervisor/hv_xen.py +++ b/lib/hypervisor/hv_xen.py @@ -269,16 +269,16 @@ class XenHypervisor(hv_base.BaseHypervisor): def MigrateInstance(self, instance, target, live): """Migrate an instance to a target node. - Arguments: - - instance: the name of the instance - - target: the ip of the target node - - live: whether to do live migration or not - - Returns: none, errors will be signaled by exception. - The migration will not be attempted if the instance is not currently running. + @type instance: string + @param instance: instance name + @type target: string + @param target: ip address of the target node + @type live: boolean + @param live: perform a live migration + """ if self.GetInstanceInfo(instance) is None: raise errors.HypervisorError("Instance not running, cannot migrate")