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 <chen.bo@intel.com>
This commit is contained in:
Bo Chen 2022-03-15 21:13:24 -07:00 committed by Rob Bradford
parent 67727deb0a
commit 3679be3721

View File

@ -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()