KVM: x86: fix lapic_timer_int_injected with APIC-v
authorMarcelo Tosatti <[email protected]>
Mon, 2 Feb 2015 17:26:08 +0000 (15:26 -0200)
committerPaolo Bonzini <[email protected]>
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/kvm/lapic.c