]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
Route PC irqs to ISA bus instead of i8259 directly
authorAvi Kivity <avi@redhat.com>
Sun, 9 Aug 2009 16:44:55 +0000 (19:44 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 24 Aug 2009 13:01:41 +0000 (08:01 -0500)
commit1452411b25fb207e7f442e5a5128f34b4939d31c
treec37ce00231c588133f2dfc9124c2b9b9f8ef6d5b
parent21d4e8e3efc66964d1cbe4dd0eb8f18303f84fa9
Route PC irqs to ISA bus instead of i8259 directly

A PC has its motherboard IRQ lines connected to both the PIC and IOAPIC.
Currently, qemu routes IRQs to the PIC which then calls the IOAPIC, an
incestuous arrangement.  In order to clean this up, create a new ISA IRQ
abstraction, and have devices raise ISA IRQs (which in turn raise the i8259
IRQs as usual).

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c