Revision 61eb1a46 lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
1486 | 1486 |
if cpu_pinning: |
1487 | 1487 |
self._ExecuteCpuAffinity(instance.name, up_hvp[constants.HV_CPU_MASK]) |
1488 | 1488 |
|
1489 |
start_memory = self._InstanceStartupMemory(instance) |
|
1490 |
if start_memory < instance.beparams[constants.BE_MAXMEM]: |
|
1491 |
self.BalloonInstanceMemory(instance, start_memory) |
|
1492 |
|
|
1489 | 1493 |
if start_kvm_paused: |
1490 | 1494 |
# To control CPU pinning, ballooning, and vnc/spice passwords the VM was |
1491 | 1495 |
# started in a frozen state. If freezing was not explicitely requested |
Also available in: Unified diff