From 5736205cf03b040e2081ddedd10f0e001ab10fd7 Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Fri, 31 Mar 2023 09:52:41 -0700 Subject: [PATCH] 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 --- tests/integration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration.rs b/tests/integration.rs index af99a6b5b..1028ae9b9 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -2230,7 +2230,7 @@ mod common_parallel { "--memory-zone", "id=mem0,size=1G,hotplug_size=2G", "--memory-zone", - "id=mem1,size=1G,file=/dev/shm", + "id=mem1,size=1G,shared=on", "--memory-zone", "id=mem2,size=1G,host_numa_node=0,hotplug_size=2G", ])