aboutsummaryrefslogtreecommitdiff
path: root/tests/migration/migration-test.h
diff options
context:
space:
mode:
authorWei Huang <wei@redhat.com>2018-09-05 15:15:33 -0400
committerDr. David Alan Gilbert <dgilbert@redhat.com>2018-09-26 13:20:36 +0100
commite51e711b1bef44861cf6a9d0f426d0a6bd119227 (patch)
tree789dd27bf0a2329ebc7f2a16b874b8ccc1668c85 /tests/migration/migration-test.h
parentd54927efdc93d0405c12ec94a9f466e41d8c3b52 (diff)
tests/migration: Add migration-test header file
This patch moves the settings related migration-test from the migration-test.c file to a new header file. Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Wei Huang <wei@redhat.com> Message-Id: <1536174934-26022-4-git-send-email-wei@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tests/migration/migration-test.h')
-rw-r--r--tests/migration/migration-test.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/migration/migration-test.h b/tests/migration/migration-test.h
new file mode 100644
index 0000000000..c4c0c526b6
--- /dev/null
+++ b/tests/migration/migration-test.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2018 Red Hat, Inc. and/or its affiliates
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+#ifndef _TEST_MIGRATION_H_
+#define _TEST_MIGRATION_H_
+
+/* Common */
+#define TEST_MEM_PAGE_SIZE 4096
+
+/* x86 */
+#define X86_TEST_MEM_START (1 * 1024 * 1024)
+#define X86_TEST_MEM_END (100 * 1024 * 1024)
+
+/* PPC */
+#define PPC_TEST_MEM_START (1 * 1024 * 1024)
+#define PPC_TEST_MEM_END (100 * 1024 * 1024)
+
+#endif /* _TEST_MIGRATION_H_ */