IRR 239
APR 0x00 TPR 0x00 DFR 0x0f LDR 0x00 PPR 0x00
(qemu) info ioapic
ioapic id=0x00 sel=0x2e (redir[15])
pin 0 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
pin 1 0x0000000000000031 dest=0 vec=49 active-hi edge fixed physical
pin 2 0x0000000000000030 dest=0 vec=48 active-hi edge fixed physical
pin 3 0x0000000000000033 dest=0 vec=51 active-hi edge fixed physical
pin 4 0x0000000000010034 dest=0 vec=52 active-hi edge masked fixed physical
pin 5 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
pin 6 0x0000000000000036 dest=0 vec=54 active-hi edge fixed physical
pin 7 0x0000000000000037 dest=0 vec=55 active-hi edge fixed physical
pin 8 0x0000000000000038 dest=0 vec=56 active-hi edge fixed physical
pin 9 0x0000000000018041 dest=0 vec=65 active-hi level masked fixed physical
pin 10 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
pin 11 0x0300000000008081 dest=3 vec=129 active-hi level fixed physical
pin 12 0x000000000000003c dest=0 vec=60 active-hi edge fixed physical
pin 13 0x000000000000003d dest=0 vec=61 active-hi edge fixed physical
pin 14 0x000000000000003e dest=0 vec=62 active-hi edge fixed physical
pin 15 0x000000000000003f dest=0 vec=63 active-hi edge fixed physical
pin 16 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
pin 17 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
pin 18 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
pin 19 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
pin 20 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
pin 21 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
pin 22 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
pin 23 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
IRR (none)
I would print IRR as a bitmap here, like ISR/IRR in the local APIC dump.
Similarly, it would be nice to print the "Remote IRR" bits of the
redirection table (printing them as a bitmap with the same format).