mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
bug 10690: add "live" option to migrate
status 10690: resolved fixed
This commit is contained in:
parent
1acfa6013d
commit
d8da1e9412
@ -2377,7 +2377,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…
x
Reference in New Issue
Block a user