mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-06 19:30:46 +00:00
DM: increase vioapic pin count
Current only 8 vioapic pins for pci irq (total 24 with 16 reserved), which easily leads virtual GSI sharing with more and more passthrough devices. This patch doulbes vioapic pin count and adds reboot hooks to allocate from same pin after each reboot. Signed-off-by: Edwin Zhai <edwin.zhai@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com> Reviewed-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -36,6 +36,7 @@ struct pci_vdev;
|
||||
* Allocate a PCI IRQ from the I/O APIC.
|
||||
*/
|
||||
void ioapic_init(struct vmctx *ctx);
|
||||
void ioapic_deinit(void);
|
||||
int ioapic_pci_alloc_irq(struct pci_vdev *pi);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user