On 06/10/2023 14.39, Fabiano Rosas wrote:
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.

Signed-off-by: Fabiano Rosas <faro...@suse.de>
---
  tests/qtest/libqtest.c | 17 +++++++++++++----
  1 file changed, 13 insertions(+), 4 deletions(-)

Reviewed-by: Thomas Huth <th...@redhat.com>


Reply via email to