Commit cadad76f21 for qemu.org
commit cadad76f21ceb96670ada9298bf9d6492e519fdd
Author: John Snow <jsnow@redhat.com>
Date: Tue Aug 25 17:58:36 2026 -0400
tests: update vm tests to prefer locally-built QEMU
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 <jsnow@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20260825215851.1780608-2-jsnow@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
index 0a53dc9fdd..0ec1b47e63 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