diff options
author | Fabiano Rosas <farosas@suse.de> | 2023-10-18 16:27:32 -0300 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-10-20 08:51:41 +0200 |
commit | 41b2eba4e5c480b8515db60f23b0cb5eeae0dc50 (patch) | |
tree | 73b1baf146aba0fef4b27c205479f97395a44205 /fsdev/qemu-fsdev.c | |
parent | 9931215bd33b640dcc824e07431e67e6ddb6b1e1 (diff) | |
download | qemu-41b2eba4e5c480b8515db60f23b0cb5eeae0dc50.zip qemu-41b2eba4e5c480b8515db60f23b0cb5eeae0dc50.tar.gz qemu-41b2eba4e5c480b8515db60f23b0cb5eeae0dc50.tar.bz2 |
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 'fsdev/qemu-fsdev.c')
0 files changed, 0 insertions, 0 deletions