net/eth: Read ip6_ext_hdr_routing buffer before accessing it
[qemu/ar7.git] / tests / migration / migration-test.h
blob68512c0b1b9bd64b787303b70abb31caa1ed6a45
1 /*
2 * Copyright (c) 2018 Red Hat, Inc. and/or its affiliates
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
6 */
8 #ifndef MIGRATION_TEST_H
9 #define MIGRATION_TEST_H
11 /* Common */
12 #define TEST_MEM_PAGE_SIZE 4096
14 /* x86 */
15 #define X86_TEST_MEM_START (1 * 1024 * 1024)
16 #define X86_TEST_MEM_END (100 * 1024 * 1024)
18 /* S390 */
19 #define S390_TEST_MEM_START (1 * 1024 * 1024)
20 #define S390_TEST_MEM_END (100 * 1024 * 1024)
22 /* PPC */
23 #define PPC_TEST_MEM_START (1 * 1024 * 1024)
24 #define PPC_TEST_MEM_END (100 * 1024 * 1024)
26 /* ARM */
27 #define ARM_TEST_MEM_START (0x40000000 + 1 * 1024 * 1024)
28 #define ARM_TEST_MEM_END (0x40000000 + 100 * 1024 * 1024)
29 #define ARM_MACH_VIRT_UART 0x09000000
30 /* AArch64 kernel load address is 0x40080000, and the test memory starts at
31 * 0x40100000. So the maximum allowable kernel size is 512KB.
33 #define ARM_TEST_MAX_KERNEL_SIZE (512 * 1024)
35 #endif /* MIGRATION_TEST_H */