From 1aa588de994e584c3bc1dd068b52ca7b6c00d599 Mon Sep 17 00:00:00 2001 From: Hu Shuai Date: Wed, 28 Jun 2023 17:06:02 +0800 Subject: [PATCH] numa_various_numa_topology_settings: Enable test for aarch64 Enable tests for aarch64 with the following changes: 1. cpu model: aarch64 support host-passthrough 2. target_hugepages: Reduce the number of huge pages to 32, because the default pagesize of aarc64 is 512M, creating 1024 hugepages requires a lot of free memory on the machine Signed-off-by: Hu Shuai --- .../guest_numa_topology/various_numa_topology_settings.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvirt/tests/cfg/numa/guest_numa_topology/various_numa_topology_settings.cfg b/libvirt/tests/cfg/numa/guest_numa_topology/various_numa_topology_settings.cfg index 7f30f14407..2376ea9183 100644 --- a/libvirt/tests/cfg/numa/guest_numa_topology/various_numa_topology_settings.cfg +++ b/libvirt/tests/cfg/numa/guest_numa_topology/various_numa_topology_settings.cfg @@ -6,8 +6,11 @@ memory_backing = {'hugepages': {}} qemu_monitor_option = '--hmp' qemu_monitor_cmd = 'info memdev' - cpu_mode = 'host-model' + cpu_mode = 'host-model' target_hugepages = 1024 + aarch64: + cpu_mode = 'host-passthrough' + target_hugepages = 32 hugepage_size = 2048 numa_cell_0 = {'id': '0', 'memory': '1048576', 'cpus': '0-1'} numa_cell_1 = {'id': '1', 'memory': '1048576', 'cpus': '2-3'}