Searched refs:mem_policy (Results 1 – 3 of 3) sorted by relevance
694 let mut mem_policy = MemoryPolicy::empty(); in run_config() localVariable696 mem_policy |= MemoryPolicy::USE_HUGEPAGES; in run_config()698 mem.set_memory_policy(mem_policy); in run_config()
271 pub fn set_memory_policy(&self, mem_policy: MemoryPolicy) { in set_memory_policy()272 if mem_policy.contains(MemoryPolicy::USE_HUGEPAGES) { in set_memory_policy()
2294 let mut mem_policy = MemoryPolicy::empty(); in run_config() localVariable2296 mem_policy |= MemoryPolicy::USE_HUGEPAGES; in run_config()2298 guest_mem.set_memory_policy(mem_policy); in run_config()