In 05e4982, we updated our QMP tests to prefer `-object monitor-qmp`,
but this requires a sufficiently recent and modern version of QEMU to
run correctly.

Update the "make vm-build-xxx" targets to use the runscript that will
naturally prefer the locally built version of QEMU so that these tests
launch successfully once more.

Fixes: 05e4982 ("tests: switch from -mon to -object monitor-qmp")
Signed-off-by: John Snow <[email protected]>
Reviewed-by: Daniel P. BerrangĂ© <[email protected]>
---
 tests/vm/Makefile.include | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
index 0a53dc9fdd6..0ec1b47e63e 100644
--- a/tests/vm/Makefile.include
+++ b/tests/vm/Makefile.include
@@ -5,7 +5,7 @@ ifeq ($(realpath $(SRC_PATH)),$(realpath .))
 VM_PYTHON = $(SRC_PATH)/vm-venv/bin/python3
 VM_VENV = vm-venv
 else
-VM_PYTHON = $(PYTHON)
+VM_PYTHON = $(BUILD_DIR)/run $(PYTHON)
 VM_VENV =
 endif
 
-- 
2.55.0


Reply via email to