mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 03:12:27 +00:00
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:
parent
67727deb0a
commit
3679be3721
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user