ioapic: Implement EOI handling for level-triggered IRQs
commitbc3aaac57b85ade96eeefad400ef1aff0ac73151
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 3 Feb 2011 21:54:11 +0000 (3 22:54 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 4 Feb 2011 12:53:52 +0000 (4 06:53 -0600)
treed24957244c6e1171cf33c3a19be61e6ab63e0195
parent602c075070f113c69c2100776f7a67cee55dd61e
ioapic: Implement EOI handling for level-triggered IRQs

Add the missing EOI broadcast from local APIC to the IOAPICs on
completion of level-triggered IRQs. This ensures that a still asserted
IRQ source properly re-triggers an APIC IRQ.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 0280b571c1a153f8926612d8c8d7359242d596f5)
hw/apic.c
hw/ioapic.c
hw/ioapic.h [new file with mode: 0644]