vmm: interrupt: drop Kvm prefix from KvmLegacyUserspaceInterruptManager

This data structure doesn't contain KVM specific stuff.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu
2020-06-25 14:56:49 +00:00
committed by Rob Bradford
parent 574cab6990
commit 637f58bcd9
2 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ use crate::config::ConsoleOutputMode;
use crate::config::DeviceConfig;
use crate::config::{DiskConfig, FsConfig, NetConfig, PmemConfig, VmConfig, VsockConfig};
use crate::device_tree::{DeviceNode, DeviceTree};
use crate::interrupt::{KvmLegacyUserspaceInterruptManager, KvmMsiInterruptManager};
use crate::interrupt::{KvmMsiInterruptManager, LegacyUserspaceInterruptManager};
use crate::memory_manager::{Error as MemoryManagerError, MemoryManager};
#[cfg(feature = "pci_support")]
use crate::PciDeviceInfo;
@@ -865,7 +865,7 @@ impl DeviceManager {
// formed IOAPIC device.
let legacy_interrupt_manager: Arc<
dyn InterruptManager<GroupConfig = LegacyIrqGroupConfig>,
> = Arc::new(KvmLegacyUserspaceInterruptManager::new(Arc::clone(
> = Arc::new(LegacyUserspaceInterruptManager::new(Arc::clone(
&interrupt_controller,
)));