KVM: Call ack notifiers from PIC when guest OS acks an IRQ.
authorGleb Natapov <gleb@redhat.com>
Tue, 4 Aug 2009 12:30:28 +0000 (15:30 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:22 +0000 (08:33 +0300)
commit938396a2341a4a96eaa5bea93a2bcdd69827c70c
tree23ddc1b10de3e01589171fd4e4d9fbe7f1068b8d
parent956f97cf665dc8c8ce2d5138bb38c022673b12d7
KVM: Call ack notifiers from PIC when guest OS acks an IRQ.

Currently they are called when irq vector is been delivered.  Calling ack
notifiers at this point is wrong.  Device assignment ack notifier enables
host interrupts, but guest not yet had a chance to clear interrupt
condition in a device.

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