|
| From: | Philippe Mathieu-Daudé |
| Subject: | Re: [PATCH 1/4] tests/qtest: Add a function that checks whether a device is available |
| Date: | Tue, 11 Jan 2022 23:18:09 +0100 |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 |
On 20/12/21 09:10, Thomas Huth wrote:
Devices might not always be compiled into the QEMU target binaries. We already have the libqos framework that is good for handling such situations, but some of the qtests are not a real good fit for the libqos framework. Let's add a qtest_has_device() function for such tests instead. Signed-off-by: Thomas Huth <thuth@redhat.com> --- tests/qtest/libqos/libqtest.h | 8 +++++++ tests/qtest/libqtest.c | 44 +++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
| [Prev in Thread] | Current Thread | [Next in Thread] |