[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 1/6] tests/migration-test: Disable s390x test when ru
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [PULL 1/6] tests/migration-test: Disable s390x test when running with TCG |
Date: |
Wed, 24 Oct 2018 10:52:03 +0100 |
The migration test for s390x sometimes hangs when running with TCG,
similar to the problems that we have already observed with TCG for
the ppc64 guests. Thus disable the s390x test when we are not running
with KVM for now until the problem with TCG has been resolved.
Reviewed-by: Laurent Vivier <address@hidden>
Reviewed-by: Emilio G. Cota <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
---
tests/migration-test.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/tests/migration-test.c b/tests/migration-test.c
index b792025..06ca506 100644
--- a/tests/migration-test.c
+++ b/tests/migration-test.c
@@ -803,6 +803,22 @@ int main(int argc, char **argv)
return 0;
}
+ /*
+ * Similar to ppc64, s390x seems to be touchy with TCG, so disable it
+ * there until the problems are resolved
+ */
+ if (g_str_equal(qtest_get_arch(), "s390x")) {
+#if defined(HOST_S390X)
+ if (access("/dev/kvm", R_OK | W_OK)) {
+ g_test_message("Skipping test: kvm not available");
+ return 0;
+ }
+#else
+ g_test_message("Skipping test: Need s390x host to work properly");
+ return 0;
+#endif
+ }
+
tmpfs = mkdtemp(template);
if (!tmpfs) {
g_test_message("mkdtemp on path (%s): %s\n", template,
strerror(errno));
--
1.8.3.1
- [Qemu-devel] [PULL 0/6] qtest, Makefiles and shell script improvements, Thomas Huth, 2018/10/24
- [Qemu-devel] [PULL 1/6] tests/migration-test: Disable s390x test when running with TCG,
Thomas Huth <=
- [Qemu-devel] [PULL 2/6] hw/core: Move null-machine into the common-obj list, Thomas Huth, 2018/10/24
- [Qemu-devel] [PULL 3/6] configs: Add a CONFIG_SMC37C669 switch for the "smc37c669-superio" device, Thomas Huth, 2018/10/24
- [Qemu-devel] [PULL 4/6] debian-bootstrap.pre: Modern shell scripting (use $() instead of ``), Thomas Huth, 2018/10/24
- [Qemu-devel] [PULL 5/6] po/Makefile: Modern shell scripting (use $() instead of ``), Thomas Huth, 2018/10/24
- [Qemu-devel] [PULL 6/6] configure: Provide option to explicitly disable AVX2, Thomas Huth, 2018/10/24
- Re: [Qemu-devel] [PULL 0/6] qtest, Makefiles and shell script improvements, Peter Maydell, 2018/10/24