From 7965d04efd5f20feb473343e276817751115925e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Tue, 25 Jun 2013 16:18:35 +0200 Subject: [PATCH] qemu.tests.qmp_command: Repair function call of has_option() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit qemu_command has to be passed to qemu_has_option() function. Signed-off-by: Lukáš Doktor --- qemu/tests/qmp_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/tests/qmp_command.py b/qemu/tests/qmp_command.py index 88bee852..8e94d72c 100644 --- a/qemu/tests/qmp_command.py +++ b/qemu/tests/qmp_command.py @@ -176,7 +176,7 @@ def run_qmp_command(test, params, env): % (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.") vm = env.get_vm(params["main_vm"]) -- GitLab