KVM: LAPIC: ignore pending timers if LVTT is disabled
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 14 May 2008 05:29:06 +0000 (02:29 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 18 May 2008 11:39:39 +0000 (14:39 +0300)
commitcde4aba2195713ea8ca7b6c87e64e950564a0b89
tree66488043384eca7851f752bcfdbdec90ef328884
parentd0773f41a3e84108d7e4ebb2451bb3a12fc6c1e0
KVM: LAPIC: ignore pending timers if LVTT is disabled

Only use the APIC pending timers count to break out of HLT emulation if
the timer vector is enabled.

Certain configurations of Windows simply mask out the vector without
disabling the timer.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/lapic.c