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