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

@@ -310,7 +310,7 @@ impl InterruptSourceGroup for LegacyUserspaceInterruptGroup {
}
}
pub struct KvmLegacyUserspaceInterruptManager {
pub struct LegacyUserspaceInterruptManager {
ioapic: Arc<Mutex<dyn InterruptController>>,
}
@@ -320,9 +320,9 @@ pub struct KvmMsiInterruptManager {
gsi_msi_routes: Arc<Mutex<HashMap<u32, KvmRoutingEntry>>>,
}
impl KvmLegacyUserspaceInterruptManager {
impl LegacyUserspaceInterruptManager {
pub fn new(ioapic: Arc<Mutex<dyn InterruptController>>) -> Self {
KvmLegacyUserspaceInterruptManager { ioapic }
LegacyUserspaceInterruptManager { ioapic }
}
}
@@ -342,7 +342,7 @@ impl KvmMsiInterruptManager {
}
}
impl InterruptManager for KvmLegacyUserspaceInterruptManager {
impl InterruptManager for LegacyUserspaceInterruptManager {
type GroupConfig = LegacyIrqGroupConfig;
fn create_group(