IOAPIC problem with virtual box
Posted: Sat Jul 22, 2017 5:16 pm
Hi,
I have a problem running ioapic on virtual box.
I managed to program the IOAPIC with ATA devices to fire interrupts 14 and 15 with DMA data transfer and make it work on Bochs.
The problem is that the same code does not work on virtual box.
I parse the ACPI tables and read IOAPC configuration form MADT.
The only difference that I noticed is the on Bochs I get one interrupt source override, while on Virtualbox is get 2 interrupt source override.
The details of the interrupt source override in bochs are:
Bus: 0x0
src: 0x0
GSI: 0x2
flags: 0x0
The details of the interrupt source override in virtualbox are:
#1:
Bus: 0x0
src: 0x0
GSI: 0x2
flags: 0x0
#2:
Bus: 0x0
src: 0x9
GSI: 0x9
flags: 0xd
For both the GSI base is 0x0.
I appreciate if anyone has gone through this and know what could be the problem with virtual box and willing to share the information.
In the case of virtualbox, the interrupts do not fire upon initiating DMA data transfer while in case of bochs it works as expected.
Thanks,
Karim.
I have a problem running ioapic on virtual box.
I managed to program the IOAPIC with ATA devices to fire interrupts 14 and 15 with DMA data transfer and make it work on Bochs.
The problem is that the same code does not work on virtual box.
I parse the ACPI tables and read IOAPC configuration form MADT.
The only difference that I noticed is the on Bochs I get one interrupt source override, while on Virtualbox is get 2 interrupt source override.
The details of the interrupt source override in bochs are:
Bus: 0x0
src: 0x0
GSI: 0x2
flags: 0x0
The details of the interrupt source override in virtualbox are:
#1:
Bus: 0x0
src: 0x0
GSI: 0x2
flags: 0x0
#2:
Bus: 0x0
src: 0x9
GSI: 0x9
flags: 0xd
For both the GSI base is 0x0.
I appreciate if anyone has gone through this and know what could be the problem with virtual box and willing to share the information.
In the case of virtualbox, the interrupts do not fire upon initiating DMA data transfer while in case of bochs it works as expected.
Thanks,
Karim.