vmm: Introduce MemoryManager

The memory manager is responsible for setting up the guest memory and in
the long term will also handle addition of guest memory.

In this commit move code for creating the backing memory and populating
the allocator into the new implementation trying to make as minimal
changes to other code as possible.

Follow on commits will further reduce some of the duplicated code.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2019-12-19 15:47:36 +00:00
parent bcfe546ea2
commit 260cebb8cf
4 changed files with 259 additions and 199 deletions
+1
View File
@@ -30,6 +30,7 @@ pub mod api;
pub mod config;
pub mod cpu;
pub mod device_manager;
pub mod memory_manager;
pub mod vm;
#[cfg(feature = "acpi")]