mirror of https://github.com/apache/cloudstack.git
parent
1321141797
commit
40682fc43d
|
|
@ -3113,11 +3113,7 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
|||
}
|
||||
|
||||
protected void setMemory(Connection conn, VM vm, long memsize) throws XmlRpcException, XenAPIException {
|
||||
vm.setMemoryStaticMin(conn, memsize);
|
||||
vm.setMemoryDynamicMin(conn, memsize);
|
||||
|
||||
vm.setMemoryDynamicMax(conn, memsize);
|
||||
vm.setMemoryStaticMax(conn, memsize);
|
||||
vm.setMemoryLimits(conn, memsize, memsize, memsize, memsize);
|
||||
}
|
||||
|
||||
private void waitForTask(Connection c, Task task, long pollInterval, long timeout) throws XenAPIException, XmlRpcException {
|
||||
|
|
|
|||
|
|
@ -74,11 +74,6 @@ public class XenServer56Resource extends CitrixResourceBase {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setMemory(Connection conn, VM vm, long memsize) throws XmlRpcException, XenAPIException {
|
||||
vm.setMemoryLimits(conn, memsize, memsize, memsize, memsize);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected String getGuestOsType(String stdType, boolean bootFromCD) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue