aboutsummaryrefslogtreecommitdiff
path: root/tests/migration/migration-test.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2018-10-09 11:51:17 +0200
committerDr. David Alan Gilbert <dgilbert@redhat.com>2018-10-11 19:58:21 +0100
commit5571dc824b3a8b9e890caa721a6938970e7596ed (patch)
treea7a95ae4172423c7e54db93ab13a05d5411c8a2c /tests/migration/migration-test.h
parentc02b37814cf6962b3320ab34e1b3a26a2323772f (diff)
downloadqemu-5571dc824b3a8b9e890caa721a6938970e7596ed.zip
qemu-5571dc824b3a8b9e890caa721a6938970e7596ed.tar.gz
qemu-5571dc824b3a8b9e890caa721a6938970e7596ed.tar.bz2
tests/migration: Enable the migration test on s390x, too
We can re-use the s390-ccw bios code to implement a small firmware for a s390x guest which prints out the "A" and "B" characters and modifies the memory, as required for the migration test. [quintela: Converted the compile script to Makefile rules] Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1539078677-25396-1-git-send-email-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Fixed up Makefile since the aarch patch sneaked in first
Diffstat (limited to 'tests/migration/migration-test.h')
-rw-r--r--tests/migration/migration-test.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/migration/migration-test.h b/tests/migration/migration-test.h
index 6939a13..03c2523 100644
--- a/tests/migration/migration-test.h
+++ b/tests/migration/migration-test.h
@@ -14,6 +14,10 @@
#define X86_TEST_MEM_START (1 * 1024 * 1024)
#define X86_TEST_MEM_END (100 * 1024 * 1024)
+/* S390 */
+#define S390_TEST_MEM_START (1 * 1024 * 1024)
+#define S390_TEST_MEM_END (100 * 1024 * 1024)
+
/* PPC */
#define PPC_TEST_MEM_START (1 * 1024 * 1024)
#define PPC_TEST_MEM_END (100 * 1024 * 1024)