KVM: PIC: call ack notifiers for irqs that are dropped form irr
authorGleb Natapov <gleb@redhat.com>
Thu, 26 Jul 2012 07:00:45 +0000 (10:00 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 26 Jul 2012 09:19:06 +0000 (12:19 +0300)
commitaea218f3cbbcaac249b6b2c98930a00d6d931f1e
treea21917407b485a5cbd21741e0d7a42dd6bf4a578
parentbdc0077af574800d24318b6945cf2344e8dbb050
KVM: PIC: call ack notifiers for irqs that are dropped form irr

After commit 242ec97c358256 PIT interrupts are no longer delivered after
PIC reset. It happens because PIT injects interrupt only if previous one
was acked, but since on PIC reset it is dropped from irr it will never
be delivered and hence acknowledged. Fix that by calling ack notifier on
PIC reset.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/i8259.c