qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 3/9] tests/qtest: Allow qtest_get_machines to use an alter


From: Thomas Huth
Subject: Re: [PATCH v2 3/9] tests/qtest: Allow qtest_get_machines to use an alternate QEMU binary
Date: Wed, 11 Oct 2023 17:05:39 +0200
User-agent: Mozilla Thunderbird

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 <farosas@suse.de>
---
  tests/qtest/libqtest.c | 17 +++++++++++++----
  1 file changed, 13 insertions(+), 4 deletions(-)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]