KVM: remove isr_ack logic from PIC
authorGleb Natapov <gleb@redhat.com>
Wed, 9 Feb 2011 10:09:46 +0000 (12:09 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:30 +0000 (13:08 -0300)
commit7049467b5383432e178cc4124e53aebd83638916
tree821003369bf041d8df42272d3b9f0c1d369b3625
parent23f3e99132aa5c5f887648c50597d8f2b5800417
KVM: remove isr_ack logic from PIC

isr_ack logic was added by e48258009d to avoid unnecessary IPIs. Back
then it made sense, but now the code checks that vcpu is ready to accept
interrupt before sending IPI, so this logic is no longer needed. The
patch removes it.

Fixes a regression with Debian/Hurd.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Reported-and-tested-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/i8259.c
arch/x86/kvm/x86.c