From 3679be3721dc3ecdbe96606944ddc346eab9c381 Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Tue, 15 Mar 2022 21:13:24 -0700 Subject: [PATCH] tests: Enable hugepages for test_vfio_user This is will fix a warning reported from the SPDK/NVMe backend when the memory address is not 2M aligned. 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 c2c2fd882..75b269376 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -5782,7 +5782,7 @@ mod parallel { let mut child = GuestCommand::new(&guest) .args(&["--api-socket", &api_socket]) .args(&["--cpus", "boot=1"]) - .args(&["--memory", "size=512M,shared=on"]) + .args(&["--memory", "size=512M,shared=on,hugepages=on"]) .args(&["--kernel", fw_path(FwType::RustHypervisorFirmware).as_str()]) .default_disks() .default_net()