提交 7965d04e 编写于 作者: L Lukáš Doktor 提交者: Lucas Meneghel Rodrigues

qemu.tests.qmp_command: Repair function call of has_option()

qemu_command has to be passed to qemu_has_option() function.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 22692a74
...@@ -176,7 +176,7 @@ def run_qmp_command(test, params, env): ...@@ -176,7 +176,7 @@ def run_qmp_command(test, params, env):
% (cpu, out)) % (cpu, out))
if not utils_misc.qemu_has_option("qmp"): if not utils_misc.qemu_has_option("qmp", params['qemu_binary']):
raise error.TestNAError("Host qemu does not support qmp.") raise error.TestNAError("Host qemu does not support qmp.")
vm = env.get_vm(params["main_vm"]) vm = env.get_vm(params["main_vm"])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册