Question about wired interrupt pass through to VM
For PCIe device, it can write msi and using iommu to pass through to VM. But for some device with wired interrupt(using aplic delivery to imsic),how are the interrupts passed through to the VM? How does the virtual machine register interrupts with the physical interrupt controller which is used by Host?
Thanks for your reply!
The implementation of wired interrupt pass-through using APLIC MSI-mode will tend to be hypervisor specific. The general preferred approach would be that hypervisor trap-n-emulate APLIC MSI-mode for Guest/VM and hypervisor will take host interrupt in HS-mode and manually write appropriate IMSIC VS-file based on emulated APLIC MSI-mode configuration.
Hi avpatel,
thank you for your reply! I feel this method of forwarding interrupts to the Guest/VM via hypervisor is not pass through, are there any other pass-through methods on linux kvm?