KVM: x86: fix lapic_timer_int_injected with APIC-v
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 2 Feb 2015 17:26:08 +0000 (15:26 -0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Feb 2015 17:36:25 +0000 (18:36 +0100)
commitf9339860384aaa104d85f59b75921941b39a45fc
treed9ce4990dc0a00af09a581c2cf1ed7c66807663a
parentad15a296471d40703be647b11ddc56df0f1c0cdd
KVM: x86: fix lapic_timer_int_injected with APIC-v

With APICv, LAPIC timer interrupt is always delivered via IRR:
apic_find_highest_irr syncs PIR to IRR.

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