Revision c6a39fc2 lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
311 | 311 |
pidfile = self._InstancePidFile(instance.name) |
312 | 312 |
kvm = constants.KVM_PATH |
313 | 313 |
kvm_cmd = [kvm] |
314 |
# used just by the vnc server, if enabled |
|
315 |
kvm_cmd.extend(['-name', instance.name]) |
|
314 | 316 |
kvm_cmd.extend(['-m', instance.beparams[constants.BE_MEMORY]]) |
315 | 317 |
kvm_cmd.extend(['-smp', instance.beparams[constants.BE_VCPUS]]) |
316 | 318 |
kvm_cmd.extend(['-pidfile', pidfile]) |
317 |
# used just by the vnc server, if enabled |
|
318 |
kvm_cmd.extend(['-name', instance.name]) |
|
319 | 319 |
kvm_cmd.extend(['-daemonize']) |
320 | 320 |
if not instance.hvparams[constants.HV_ACPI]: |
321 | 321 |
kvm_cmd.extend(['-no-acpi']) |
Also available in: Unified diff