From 70b81c8215e83a6c6451fbb7c4c7e0c1d77bd15c Mon Sep 17 00:00:00 2001 From: Hu Shuai Date: Tue, 31 Oct 2023 15:40:15 +0800 Subject: [PATCH] memory: Enable test for aarch64 Update the hugepagesize and memory backend for arm Signed-off-by: Hu Shuai --- .../tests/cfg/memory/memory_backing/memory_access_mode.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libvirt/tests/cfg/memory/memory_backing/memory_access_mode.cfg b/libvirt/tests/cfg/memory/memory_backing/memory_access_mode.cfg index 70a7d9e180..70842ab5b4 100644 --- a/libvirt/tests/cfg/memory/memory_backing/memory_access_mode.cfg +++ b/libvirt/tests/cfg/memory/memory_backing/memory_access_mode.cfg @@ -3,6 +3,9 @@ set_pagesize = 2048 set_pagenum = 1024 numa_mem = 2097152 + aarch64: + set_pagesize = 524288 + set_pagenum = 4 start_vm = no qemu_monitor_option = '--hmp' qemu_monitor_cmd = 'info memdev' @@ -45,6 +48,8 @@ numa_attrs = {'vcpu': 4,'cpu': {'numa_cell': [{'id': '0', 'cpus': '0-3', 'memory': '${numa_mem}', 'unit': 'KiB'}]}} - no_numa: mem_backend = "memory backend: pc.ram" + aarch64: + mem_backend = "memory backend: mach-virt.ram" variants mem_pagesize: - without_hugepage: - with_hugepage: