Commit 3ddc7650 authored by Jose A. Lopes's avatar Jose A. Lopes
Browse files

Fix error printing

Fixes issue 616.
Signed-off-by: default avatarJose A. Lopes <>
Reviewed-by: default avatarMichele Tartara <>
parent 62810f07
......@@ -1746,7 +1746,7 @@ class KVMHypervisor(hv_base.BaseHypervisor):
result = utils.RunCmd([kvm_path] + optlist)
if result.failed and not can_fail:
raise errors.HypervisorError("Unable to get KVM %s output" %
" ".join(cls._KVMOPTS_CMDS[option]))
" ".join(optlist))
return result.output
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