mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user