bug 10690: add "live" option to migrate

status 10690: resolved fixed
This commit is contained in:
anthony 2011-07-11 19:34:18 -07:00
parent 73574ebf5b
commit 67d51edbd3
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}