KVM: lapic: do not scan IRR when delivering an interrupt
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 18 Dec 2016 20:43:41 +0000 (21:43 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Mon, 9 Jan 2017 13:48:03 +0000 (14:48 +0100)
commit4d82d12b39132e820b9ac4aa058ccc733db98917
tree1b45c6b38d4a934131b77c62f964c36a4676b18f
parent26fbbee5815e9352187ac18f0aa53534f62567ff
KVM: lapic: do not scan IRR when delivering an interrupt

On interrupt delivery the PPR can only grow (except for auto-EOI),
so it is impossible that non-auto-EOI interrupt delivery results
in KVM_REQ_EVENT.  We can therefore use __apic_update_ppr.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c