diff options
| author | Wei Huang | 2018-09-05 21:15:33 +0200 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2018-09-26 14:20:36 +0200 |
| commit | e51e711b1bef44861cf6a9d0f426d0a6bd119227 (patch) | |
| tree | 789dd27bf0a2329ebc7f2a16b874b8ccc1668c85 /tests/migration | |
| parent | tests/migration: Support cross compilation in generating boot header file (diff) | |
| download | qemu-e51e711b1bef44861cf6a9d0f426d0a6bd119227.tar.gz qemu-e51e711b1bef44861cf6a9d0f426d0a6bd119227.tar.xz qemu-e51e711b1bef44861cf6a9d0f426d0a6bd119227.zip | |
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')
| -rw-r--r-- | tests/migration/migration-test.h | 21 |
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_ */ |
