Commit 360e6c08 authored by Guido Trotter's avatar Guido Trotter
Browse files

kvm: don't pass whole extra as a single argument

If extra is longer than a single word passing it the way it was passed
won't work. Of course this solution is also only partial, as won't take
into account any form of quoting. :/
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarKlaus Aehlig <>
parent 85218237
......@@ -1369,7 +1369,7 @@ class KVMHypervisor(hv_base.BaseHypervisor):
kvm_cmd.extend(["-usbdevice", dev])
if hvp[constants.HV_KVM_EXTRA]:
kvm_cmd.extend([hvp[constants.HV_KVM_EXTRA].split(" ")])
# Save the current instance nics, but defer their expansion as parameters,
# as we'll need to generate executable temp files for them.
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