tests/qemu-iotests/testenv: Use the "virt" machine for or1k
authorThomas Huth <thuth@redhat.com>
Tue, 17 Sep 2024 19:30:28 +0000 (21:30 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 20 Sep 2024 07:04:34 +0000 (10:04 +0300)
When compiling QEMU just with "--target-list=or1k-softmmu", there
are 8 iotests failing that try to use PCI devices - but the default
or1k machine does not have a PCI bus. The "virt" machine is better
suited for running the iotests than the or1k default machine since
it provides PCI and thus e.g. support for virtio-blk and virtio-scsi,
too. With this change, there are no failing iotests anymore when
using the qemu-system-or1k binary for running the tests.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/qemu-iotests/testenv.py

index c8848f2ec2bb350d89cbc4af99152007c69b3362..0b32eec1192b8c7a23729b70067c912a1a94749c 100644 (file)
@@ -240,6 +240,7 @@ class TestEnv(ContextManager['TestEnv']):
             ('aarch64', 'virt'),
             ('avr', 'mega2560'),
             ('m68k', 'virt'),
+            ('or1k', 'virt'),
             ('riscv32', 'virt'),
             ('riscv64', 'virt'),
             ('rx', 'gdbsim-r5f562n8'),