]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: Route irq 0 to vcpu 0 exclusively
authorAvi Kivity <avi@qumranet.com>
Mon, 25 Feb 2008 08:28:31 +0000 (10:28 +0200)
committerAvi Kivity <avi@qumranet.com>
Tue, 4 Mar 2008 13:19:48 +0000 (15:19 +0200)
commit8c35f237fb5664d30aa90448c3d6cea0cbb43f35
tree1de7e021aff7ac0593ed9307045f6dd4fa771995
parent0b975a3c2d53829fa978e18fabae7d99031f588f
KVM: Route irq 0 to vcpu 0 exclusively

Some Linux versions allow the timer interrupt to be processed by more than
one cpu, leading to hangs due to tsc instability.  Work around the issue
by only disaptching the interrupt to vcpu 0.

Problem analyzed (and patch tested) by Sheng Yang.

Signed-off-by: Avi Kivity <avi@qumranet.com>
virt/kvm/ioapic.c