Page 1 of 1
How to enable the MSI in BOCHS?
Posted: Tue Sep 23, 2025 7:54 am
by Oython
Recently I found that my driver can't work on BOCHS.After my inspection, I found the problem was that BOCHS does not support MSI, especially on xHC.I have searched for the solutions on the Internet but found nothing helpful.Could anyone tell me how to enable the MSI in BOCHS?
Re: How to enable the MSI in BOCHS?
Posted: Tue Sep 23, 2025 7:27 pm
by Octocontrabass
Bochs doesn't support MSI. You can't enable it because it doesn't exist.
Re: How to enable the MSI in BOCHS?
Posted: Tue Sep 23, 2025 8:19 pm
by Oython
Thanks for your reply.By the way, could you tell me how to get interruptions from pci devices in other ways?
Re: How to enable the MSI in BOCHS?
Posted: Wed Sep 24, 2025 12:47 am
by Octocontrabass
If you're using the legacy PICs, read the Interrupt Line register in the PCI configuration space to see which IRQ line the PCI device is connected to.
If you're using APIC, use ACPI or read the MP tables to see which IOAPIC pin the PCI device is connected to.