projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f958b0
)
kvm: collapse two consecutive extend calls
author
Guido Trotter
<ultrotter@google.com>
Tue, 5 Oct 2010 13:47:51 +0000
(14:47 +0100)
committer
Guido Trotter
<ultrotter@google.com>
Tue, 5 Oct 2010 13:54:05 +0000
(14:54 +0100)
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/hypervisor/hv_kvm.py
patch
|
blob
|
history
diff --git
a/lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py
index
205e571
..
042aef5
100644
(file)
--- a/
lib/hypervisor/hv_kvm.py
+++ b/
lib/hypervisor/hv_kvm.py
@@
-570,8
+570,7
@@
class KVMHypervisor(hv_base.BaseHypervisor):
mem_path = hvp[constants.HV_MEM_PATH]
if mem_path:
- kvm_cmd.extend(["-mem-path", mem_path])
- kvm_cmd.extend(["-mem-prealloc"])
+ kvm_cmd.extend(["-mem-path", mem_path, "-mem-prealloc"])
mouse_type = hvp[constants.HV_USB_MOUSE]
vnc_bind_address = hvp[constants.HV_VNC_BIND_ADDRESS]