Commit 9d3015f9 authored by Guido Trotter's avatar Guido Trotter
Browse files

kvm: collapse two consecutive extend calls


Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 4f958b0b
......@@ -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]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment