aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2025-01-08 12:10:49 +0000
committerAlex Bennée <alex.bennee@linaro.org>2025-01-11 11:22:01 +0000
commitf673a45725cd80c2a2456217a60625f5306678d8 (patch)
treeea3cf4e89851783045e264a3b9fd590b62ea457b
parent41618a2674d7b5c2ec685d30ec5c543c5c8be93d (diff)
downloadqemu-f673a45725cd80c2a2456217a60625f5306678d8.zip
qemu-f673a45725cd80c2a2456217a60625f5306678d8.tar.gz
qemu-f673a45725cd80c2a2456217a60625f5306678d8.tar.bz2
tests/vm: fix build_path based path
We no longer need to go into the per-arch build directories to find the build directories binary. Lets call it directly. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250108121054.1126164-28-alex.bennee@linaro.org>
-rw-r--r--tests/vm/basevm.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index 4a1af04..6f3f2e7 100644
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -520,8 +520,7 @@ def get_qemu_path(arch, build_path=None):
if "QEMU" in os.environ:
qemu_path = os.environ["QEMU"]
elif build_path:
- qemu_path = os.path.join(build_path, arch + "-softmmu")
- qemu_path = os.path.join(qemu_path, "qemu-system-" + arch)
+ qemu_path = os.path.join(build_path, "qemu-system-" + arch)
else:
# Default is to use system path for qemu.
qemu_path = "qemu-system-" + arch