mbox series

[0/8] tests/qtest: Allow running boot-serial / migration with TCG disabled

Message ID 20230119100537.5114-1-philmd@linaro.org
Headers show
Series tests/qtest: Allow running boot-serial / migration with TCG disabled | expand

Message

Philippe Mathieu-Daudé Jan. 19, 2023, 10:05 a.m. UTC
Two test were failing on Darwin when testing Fabiano's series
which allows building ARM targets without TCG accelerator:
https://lore.kernel.org/qemu-devel/20230118193518.26433-1-farosas@suse.de/

These patches allow boot-serial / migration tests to run without
TCG / KVM, then HVF.

Pending: How to test for (poisoned) HVF with qtest?

Philippe Mathieu-Daudé (8):
  tests/qtest/boot-serial-test: Constify tests[] array
  tests/qtest/boot-serial-test: Build command line using GString API
  tests/qtest/boot-serial-test: Only use available accelerators
  tests/qtest/migration-test: Build command line using GString API
  tests/qtest/migration-test: Only use available accelerators
  tests/qtest/libqtest: Allow checking for HVF accelerator
  tests/qtest/boot-serial-test: Allow running with HVF
  tests/qtest/migration-test: Allow running with HVF

 tests/qtest/boot-serial-test.c |  42 ++++++++++----
 tests/qtest/libqtest.c         |   2 +
 tests/qtest/migration-test.c   | 101 +++++++++++++++++++--------------
 3 files changed, 91 insertions(+), 54 deletions(-)