mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7763 Reservations for VMware VMs remain after dynamic scaling
This commit is contained in:
parent
cf27ecd91d
commit
ea99ff1c86
@ -1281,7 +1281,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
|
||||
VmwareHypervisorHost hyperHost = getHyperHost(context);
|
||||
VirtualMachineMO vmMo = hyperHost.findVmOnHyperHost(cmd.getVmName());
|
||||
VirtualMachineConfigSpec vmConfigSpec = new VirtualMachineConfigSpec();
|
||||
int ramMb = (int)(vmSpec.getMinRam() / (1024 * 1024));
|
||||
int ramMb = getReservedMemoryMb(vmSpec);
|
||||
long hotaddIncrementSizeInMb;
|
||||
long hotaddMemoryLimitInMb;
|
||||
long requestedMaxMemoryInMb = vmSpec.getMaxRam() / (1024 * 1024);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user