diff options
-rw-r--r-- | hw/apic.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1055,12 +1055,14 @@ void ioapic_set_irq(void *opaque, int vector, int level) { IOAPICState *s = opaque; +#if 0 /* ISA IRQs map to GSI 1-1 except for IRQ0 which maps * to GSI 2. GSI maps to ioapic 1-1. This is not * the cleanest way of doing it but it should work. */ if (vector == 0) vector = 2; +#endif if (vector >= 0 && vector < IOAPIC_NUM_PINS) { uint32_t mask = 1 << vector; |