]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit54aaacee35afd594bba3244c20b02cc98d80a961
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