]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitebf06d3bb1a0db266d5d6255388f175e97ef7eda
tree821003369bf041d8df42272d3b9f0c1d369b3625
parent6b6ef9fa16637ba32c95dd1c5915b268a9388330
KVM: remove isr_ack logic from PIC

isr_ack logic was added by 32d4fe34e3 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