KVM: x86: Call mask notifiers from pic
authorGleb Natapov <gleb@redhat.com>
Thu, 15 Jul 2010 09:24:37 +0000 (12:24 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:52 +0000 (06:40 +0300)
commit9195c4da26bbf8860e2e7b648dbf4ab465c7933a
treeba35ca2f03d5fd7bdfc776e608d6ed215b14ce06
parent68be0803456b3eed33038be5566710ad7648c854
KVM: x86: Call mask notifiers from pic

If pit delivers interrupt while pic is masking it OS will never do EOI
and ack notifier will not be called so when pit will be unmasked no pit
interrupts will be delivered any more. Calling mask notifiers solves this
issue.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/i8259.c