Revision bc0a2284 lib/hypervisor/hv_kvm.py

b/lib/hypervisor/hv_kvm.py
1894 1894
    else:
1895 1895
      self.StopInstance(instance, force=True)
1896 1896

  
1897
  def MigrateInstance(self, instance, target, live):
1897
  def MigrateInstance(self, cluster_name, instance, target, live):
1898 1898
    """Migrate an instance to a target node.
1899 1899

  
1900 1900
    The migration will not be attempted if the instance is not
1901 1901
    currently running.
1902 1902

  
1903
    @type cluster_name: string
1904
    @param cluster_name: name of the cluster
1903 1905
    @type instance: L{objects.Instance}
1904 1906
    @param instance: the instance to be migrated
1905 1907
    @type target: string

Also available in: Unified diff