mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 23:41:15 +00:00
tests: Use native support of shared memory
This replaces the deprecated way of allocating anonymous shared memory explicitly from '/dev/shm'. Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
a8d1849485
commit
5736205cf0
@ -2230,7 +2230,7 @@ mod common_parallel {
|
|||||||
"--memory-zone",
|
"--memory-zone",
|
||||||
"id=mem0,size=1G,hotplug_size=2G",
|
"id=mem0,size=1G,hotplug_size=2G",
|
||||||
"--memory-zone",
|
"--memory-zone",
|
||||||
"id=mem1,size=1G,file=/dev/shm",
|
"id=mem1,size=1G,shared=on",
|
||||||
"--memory-zone",
|
"--memory-zone",
|
||||||
"id=mem2,size=1G,host_numa_node=0,hotplug_size=2G",
|
"id=mem2,size=1G,host_numa_node=0,hotplug_size=2G",
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user