qemu-devel
[Top][All Lists]
Advanced

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

[PATCH 0/6] qtests: Check accelerator available at runtime via QMP 'quer


From: Philippe Mathieu-Daudé
Subject: [PATCH 0/6] qtests: Check accelerator available at runtime via QMP 'query-accels'
Date: Fri, 12 Mar 2021 00:11:56 +0100

Hi,

This series aims at having accelerator-independent qtests
by querying a QEMU instance at runtime to check the list
of built-in accelerators.

First we add the 'query-accels' QMP command,
then we add the qtest_probe_accel() method to libqtest,
finally we use this new method to allow running
bios-tables-test and arm-cpu-features on KVM-only builds.

Please review,

Phil.

Philippe Mathieu-Daudé (6):
  accel: Introduce 'query-accels' QMP command
  tests/qtest: Add qtest_probe_accel() method
  qtest/bios-tables-test: Make test build-independent from accelerator
  qtest/arm-cpu-features: Check KVM availability at runtime
  qtest/arm-cpu-features: Check TCG availability at runtime
  tests/qtest: Do not restrict bios-tables-test to Aarch64 hosts anymore

 qapi/machine.json              | 55 ++++++++++++++++++++++++++++++++++
 tests/qtest/libqos/libqtest.h  |  9 ++++++
 accel/accel-qmp.c              | 47 +++++++++++++++++++++++++++++
 tests/qtest/arm-cpu-features.c | 35 ++++++++++++++++++----
 tests/qtest/bios-tables-test.c | 13 ++++----
 tests/qtest/libqtest.c         | 24 +++++++++++++++
 accel/meson.build              |  2 +-
 tests/qtest/meson.build        |  3 +-
 8 files changed, 173 insertions(+), 15 deletions(-)
 create mode 100644 accel/accel-qmp.c

-- 
2.26.2





reply via email to

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