From 35a6b23c824e54055f1a2ab30fa5b051a82cdda6 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 17 Jun 2016 17:12:09 +0200 Subject: ich9: unify pic and ioapic IRQ vectors ich9->pic and ich9->ioapic differ for the first 16 GSIs (because ich9->pic is wired to 8259+IOAPIC but ich9->ioapic is wired to IOAPIC only). However, ich9->ioapic is never used for the first 16 GSIs, so the two vectors can be merged. Reviewed-by: Efimov Vasily Signed-off-by: Paolo Bonzini --- include/hw/i386/ich9.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/hw/i386/ich9.h b/include/hw/i386/ich9.h index f1294bc..a09a445 100644 --- a/include/hw/i386/ich9.h +++ b/include/hw/i386/ich9.h @@ -68,8 +68,7 @@ typedef struct ICH9LPCState { MemoryRegion rcrb_mem; /* root complex register block */ Notifier machine_ready; - qemu_irq *pic; - qemu_irq *ioapic; + qemu_irq *gsi; } ICH9LPCState; Object *ich9_lpc_find(void); -- cgit v1.1