Skip to content

Commit

Permalink
memory: Enable test for aarch64
Browse files Browse the repository at this point in the history
Update the hugepagesize and memory backend for arm

Signed-off-by: Hu Shuai <[email protected]>
  • Loading branch information
hs0210 committed Oct 31, 2023
1 parent fb07719 commit 70b81c8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 70b81c8

Please sign in to comment.