vmm: config: Add a hugepage_size option

This allows the user to use an alternative huge page size otherwise the
default size will be used.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2021-02-04 16:21:53 +00:00
parent 9c3a73706f
commit 29607f38ad
3 changed files with 75 additions and 4 deletions

View File

@@ -552,6 +552,7 @@ impl MemoryManager {
file: None,
shared: config.shared,
hugepages: config.hugepages,
hugepage_size: config.hugepage_size,
host_numa_node: None,
hotplug_size: config.hotplug_size,
hotplugged_size: config.hotplugged_size,