summary refs log tree commit diff stats
path: root/tests/qemu-iotests/testenv.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-09-17 21:30:28 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2024-09-20 10:04:34 +0300
commit798f35fc883c8beb3fe2fca2e00c697e2d307223 (patch)
tree3b20b594aa90d98fba0c58d6ab81fe36a21f69c2 /tests/qemu-iotests/testenv.py
parentecffadf602f34cc1cf4c3ae81502564673d410e8 (diff)
downloadfocaccia-qemu-798f35fc883c8beb3fe2fca2e00c697e2d307223.tar.gz
focaccia-qemu-798f35fc883c8beb3fe2fca2e00c697e2d307223.zip
tests/qemu-iotests/testenv: Use the "virt" machine for or1k
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>
Diffstat (limited to 'tests/qemu-iotests/testenv.py')
-rw-r--r--tests/qemu-iotests/testenv.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/testenv.py b/tests/qemu-iotests/testenv.py
index c8848f2ec2..0b32eec119 100644
--- a/tests/qemu-iotests/testenv.py
+++ b/tests/qemu-iotests/testenv.py
@@ -240,6 +240,7 @@ class TestEnv(ContextManager['TestEnv']):
             ('aarch64', 'virt'),
             ('avr', 'mega2560'),
             ('m68k', 'virt'),
+            ('or1k', 'virt'),
             ('riscv32', 'virt'),
             ('riscv64', 'virt'),
             ('rx', 'gdbsim-r5f562n8'),