qemu-devel
[Top][All Lists]
Advanced

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

[RFC PATCH v2 21/29] tests/acceptance/virtio_check_params: Kludge to ski


From: Philippe Mathieu-Daudé
Subject: [RFC PATCH v2 21/29] tests/acceptance/virtio_check_params: Kludge to skip tests on MIPS
Date: Wed, 29 Jan 2020 22:23:37 +0100

The MIPS default machine expects a BIOS.
To be able to run QMP queries on the machine, we have to use
the '-bios' command line option.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
RFC: This is not the correct place, this should be generic,
     or the MIPS machine need some rework.
---
 tests/acceptance/virtio_check_params.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/acceptance/virtio_check_params.py 
b/tests/acceptance/virtio_check_params.py
index 8752e25f08..73200c9c5b 100755
--- a/tests/acceptance/virtio_check_params.py
+++ b/tests/acceptance/virtio_check_params.py
@@ -131,6 +131,9 @@ class VirtioMaxSegSettingsCheck(Test):
                 EXCLUDED_MACHINES += ['xenfv', 'xenpv']
         # collect all machine types except the ones in EXCLUDED_MACHINES
         with QEMUMachine(self.qemu_bin) as vm:
+            if arch.startswith('mips'):
+                # FIXME kludge for MIPS default machine
+                vm.add_args('-bios', '/dev/null')
             vm.launch()
             machines = [m['name'] for m in vm.command('query-machines')]
             vm.shutdown()
-- 
2.21.1




reply via email to

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