diff options
Diffstat (limited to 'hw/pc_piix.c')
-rw-r--r-- | hw/pc_piix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/pc_piix.c b/hw/pc_piix.c index e6e280c55b..c89042f1ce 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -158,7 +158,9 @@ static void pc_init1(MemoryRegion *system_memory, i8259 = xen_interrupt_controller_init(); } - gsi_state->i8259_irq = i8259; + for (i = 0; i < ISA_NUM_IRQS; i++) { + gsi_state->i8259_irq[i] = i8259[i]; + } if (pci_enabled) { ioapic_init(gsi_state); } |