vmm: Add ioapic to KvmInterruptManager

By having a reference to the IOAPIC, the KvmInterruptManager is going
to be able to initialize properly the legacy interrupt source group.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2020-01-20 11:15:12 +01:00
committed by Samuel Ortiz
parent c9ea235a0e
commit f70c9937fb
2 changed files with 5 additions and 0 deletions

View File

@@ -458,6 +458,7 @@ impl DeviceManager {
address_manager.allocator.clone(),
vm_info.vm_fd.clone(),
kvm_gsi_msi_routes,
ioapic.clone(),
));
let console = DeviceManager::add_console_device(