qemu-devel
[Top][All Lists]
Advanced

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

[PATCH v2 22/29] tests/acceptance/virtio_check_params: Support the s390x


From: Philippe Mathieu-Daudé
Subject: [PATCH v2 22/29] tests/acceptance/virtio_check_params: Support the s390x architecture
Date: Wed, 29 Jan 2020 22:23:38 +0100

We can run these tests on the s390x architecture too,
we were just missing to properly parse the machine names.

Suggested-by: Cornelia Huck <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
 tests/acceptance/virtio_check_params.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/acceptance/virtio_check_params.py 
b/tests/acceptance/virtio_check_params.py
index 73200c9c5b..b14cfb5958 100755
--- a/tests/acceptance/virtio_check_params.py
+++ b/tests/acceptance/virtio_check_params.py
@@ -111,6 +111,8 @@ class VirtioMaxSegSettingsCheck(Test):
             # machine types like pc-<chip_name>-x.x[.x]
             ver = mt[2]
             ver = ver.split(".");
+        elif arch == 's390x':
+            ver = mt[len('s390-ccw-virtio-'):].split('.')
         else:
             raise TestCancel('Unsupported architecture: %s' % arch)
 
-- 
2.21.1




reply via email to

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