From: Cleber Rosa <crosa@xxxxxxxxxx> When using options that affect whether we want to run a paravirt (pv) or fully virtualized domain (hvm), do not assume that the options will always start with a double dash ('--'). This is useful/needed when using multiple options such as --hvm and --accelerate. Signed-off-by: Cleber Rosa <crosa@xxxxxxxxxx> --- client/virt/libvirt_vm.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/virt/libvirt_vm.py b/client/virt/libvirt_vm.py index 129c214..0c32551 100644 --- a/client/virt/libvirt_vm.py +++ b/client/virt/libvirt_vm.py @@ -404,7 +404,7 @@ class VM(virt_vm.BaseVM): return " --name '%s'" % name def add_hvm_or_pv(help, hvm_or_pv): - return " --%s" % hvm_or_pv + return " %s" % hvm_or_pv def add_mem(help, mem): return " --ram=%s" % mem -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html