mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
hypervisor: Extend interrupt handling for legacy IRQ
On x86 MSHV guests only used to support MSI based interrupts via IOAPIC but ARM64 guests uses legacy interrupt for its functioning. Thus, extend the logic to create routing entry to support legacy interrupts for ARM64 guests on MSHV. Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
This commit is contained in:
@@ -32,6 +32,8 @@ pub struct MshvGicV2M {
|
||||
pub vcpu_count: u64,
|
||||
}
|
||||
|
||||
pub const BASE_SPI_IRQ: u32 = 32;
|
||||
|
||||
#[derive(Clone, Default, Serialize, Deserialize)]
|
||||
pub struct MshvGicV2MState {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user