mirror of https://github.com/apache/cloudstack.git
bug 10690: add "live" option to migrate
status 10690: resolved fixed
This commit is contained in:
parent
73574ebf5b
commit
67d51edbd3
|
|
@ -2322,7 +2322,9 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
|||
break;
|
||||
}
|
||||
}
|
||||
vm.poolMigrate(conn, dsthost, new HashMap<String, String>());
|
||||
Map<String, String> other = new HashMap<String, String>();
|
||||
other.put("live", "true");
|
||||
vm.poolMigrate(conn, dsthost, other);
|
||||
vm.setAffinity(conn, dsthost);
|
||||
state = State.Stopping;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue