KVM: Avoid infinite-frequency local apic timer
authorAvi Kivity <avi@qumranet.com>
Sun, 24 Feb 2008 12:37:50 +0000 (14:37 +0200)
committerAvi Kivity <avi@qumranet.com>
Tue, 4 Mar 2008 13:19:48 +0000 (15:19 +0200)
commit0b975a3c2d53829fa978e18fabae7d99031f588f
tree6423319b2f1e6437cae279bce0aad9d348e055d9
parent24993d53495d1f9b844f8eb3ebd1b9efd3521617
KVM: Avoid infinite-frequency local apic timer

If the local apic initial count is zero, don't start a an hrtimer with infinite
frequency, locking up the host.

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