mbox series

[v2,0/2] tests/qtest: Make qtest_has_accel() generic

Message ID 20250130103728.536-1-philmd@linaro.org (mailing list archive)
Headers show
Series tests/qtest: Make qtest_has_accel() generic | expand

Message

Philippe Mathieu-Daudé Jan. 30, 2025, 10:37 a.m. UTC
(Series fully reviewed)

Since v1:
- Use g_strconcat (Akihiko)

In preparation of running QTests using HVF on Darwin,
make qtest_has_accel() generic.

Note, this also allow running other accelerators such
Xen, WHPX, ...

Philippe Mathieu-Daudé (2):
  tests/qtest: Extract qtest_qom_has_concrete_type() helper
  tests/qtest: Make qtest_has_accel() generic

 tests/qtest/libqtest.c | 110 +++++++++++++++++++++++------------------
 1 file changed, 61 insertions(+), 49 deletions(-)

Comments

Akihiko Odaki Jan. 31, 2025, 5:10 a.m. UTC | #1
On 2025/01/30 19:37, Philippe Mathieu-Daudé wrote:
> (Series fully reviewed)
> 
> Since v1:
> - Use g_strconcat (Akihiko)
> 
> In preparation of running QTests using HVF on Darwin,
> make qtest_has_accel() generic.
> 
> Note, this also allow running other accelerators such
> Xen, WHPX, ...
> 
> Philippe Mathieu-Daudé (2):
>    tests/qtest: Extract qtest_qom_has_concrete_type() helper
>    tests/qtest: Make qtest_has_accel() generic
> 
>   tests/qtest/libqtest.c | 110 +++++++++++++++++++++++------------------
>   1 file changed, 61 insertions(+), 49 deletions(-)
> 

Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Fabiano Rosas Jan. 31, 2025, 12:37 p.m. UTC | #2
Philippe Mathieu-Daudé <philmd@linaro.org> writes:

> (Series fully reviewed)
>
> Since v1:
> - Use g_strconcat (Akihiko)
>
> In preparation of running QTests using HVF on Darwin,
> make qtest_has_accel() generic.
>
> Note, this also allow running other accelerators such
> Xen, WHPX, ...
>
> Philippe Mathieu-Daudé (2):
>   tests/qtest: Extract qtest_qom_has_concrete_type() helper
>   tests/qtest: Make qtest_has_accel() generic
>
>  tests/qtest/libqtest.c | 110 +++++++++++++++++++++++------------------
>  1 file changed, 61 insertions(+), 49 deletions(-)

Queued, thanks!