KVM: irq ack notification
authorMarcelo Tosatti <mtosatti@redhat.com>
Sat, 26 Jul 2008 20:01:00 +0000 (17:01 -0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:16 +0000 (10:15 +0200)
commitf52447261bc8c21dfd4635196e32d2da1352f589
treea0de6cefa7fbfdd07285bd60c4f61e4e2f2d4ed6
parent564f15378f04921d5749f27ec53d5e68a6d1d446
KVM: irq ack notification

Based on a patch from: Ben-Ami Yassour <benami@il.ibm.com>
which was based on a patch from: Amit Shah <amit.shah@qumranet.com>

Notify IRQ acking on PIC/APIC emulation. The previous patch missed two things:

- Edge triggered interrupts on IOAPIC
- PIC reset with IRR/ISR set should be equivalent to ack (LAPIC probably
needs something similar).

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
CC: Amit Shah <amit.shah@qumranet.com>
CC: Ben-Ami Yassour <benami@il.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/i8259.c
arch/x86/kvm/irq.c
arch/x86/kvm/irq.h
arch/x86/kvm/lapic.c
virt/kvm/ioapic.c
virt/kvm/ioapic.h