mm: Apply zone's property instread of global config

Apply memory zone's property for associated virtio-mem regions.

Signed-off-by: Jiangbo Wu <jiangbo.wu@intel.com>
This commit is contained in:
Jiangbo Wu 2020-09-22 14:30:29 +08:00 committed by Sebastien Boeuf
parent 80be8ac0dc
commit 223189c063

View File

@ -604,8 +604,8 @@ impl MemoryManager {
start_addr, start_addr,
hotplug_size as usize, hotplug_size as usize,
false, false,
config.shared, zone.shared,
config.hugepages, zone.hugepages,
zone.host_numa_node, zone.host_numa_node,
&None, &None,
)?; )?;