diff options
author | 2023-10-18 16:27:32 -0300 | |
---|---|---|
committer | 2023-10-20 08:51:41 +0200 | |
commit | 41b2eba4e5c480b8515db60f23b0cb5eeae0dc50 (patch) | |
tree | 73b1baf146aba0fef4b27c205479f97395a44205 /hw/core/machine-hmp-cmds.c | |
parent | tests/qtest: Introduce qtest_init_with_env (diff) | |
download | qemu-41b2eba4e5c480b8515db60f23b0cb5eeae0dc50.tar.xz qemu-41b2eba4e5c480b8515db60f23b0cb5eeae0dc50.zip |
tests/qtest: Allow qtest_get_machines to use an alternate QEMU binary
We're adding support for using more than one QEMU binary in
tests. Modify qtest_get_machines() to take an environment variable
that contains the QEMU binary path.
Since the function keeps a cache of the machines list in the form of a
static variable, refresh it any time the environment variable changes.
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231018192741.25885-4-farosas@suse.de>
Diffstat (limited to 'hw/core/machine-hmp-cmds.c')
0 files changed, 0 insertions, 0 deletions