With these fixes in place the qtests now work when QEMU has been configured with "--without-default-devices". The final patch enables most targets in the related test in the CI.
The riscv patch is necessary for fixing a build failure that occurs when compiling this target without the default devices. Thomas Huth (8): tests/qtest/migration: Add a check for the availability of the "pc" machine tests/qtest/cdrom-test: Improve the machine detection in the cdrom test tests/qtest/boot-order-test: Make the machine name mandatory in this test tests/qtest/hd-geo-test: Check for availability of "pc" machine before using it tests/qtest/meson.build: Add more CONFIG switches checks for the x86 tests tests/qtest: Disable numa-test if the default machine is not available Revert "target/riscv: Restrict semihosting to TCG" .gitlab-ci.d/buildtest: Build most targets in the build-without-defaults job tests/qtest/boot-order-test.c | 4 +- tests/qtest/cdrom-test.c | 77 +++++++++++++++++++---------------- tests/qtest/hd-geo-test.c | 71 +++++++++++++++++--------------- tests/qtest/migration-test.c | 6 ++- .gitlab-ci.d/buildtest.yml | 9 +--- target/riscv/Kconfig | 4 +- tests/qtest/meson.build | 31 +++++++------- 7 files changed, 106 insertions(+), 96 deletions(-) -- 2.46.0