mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Create AddressManager to own SystemAllocator
In order to reuse the SystemAllocator later at runtime, it is moved into the new structure AddressManager. The goal is to have a hold onto the SystemAllocator and both IO and MMIO buses so that we can use them later. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
committed by
Samuel Ortiz
parent
1870eb4295
commit
8746c16593
@@ -701,7 +701,7 @@ impl Vm {
|
||||
|
||||
let device_manager = DeviceManager::new(
|
||||
&vm_info,
|
||||
&mut allocator,
|
||||
allocator,
|
||||
msi_capable,
|
||||
userspace_ioapic,
|
||||
ram_regions.len() as u32,
|
||||
|
||||
Reference in New Issue
Block a user