]> git.baikalelectronics.ru Git - kernel.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)
commitda29b4367149e0fd164bf5de7919167937095e67
tree1de7e021aff7ac0593ed9307045f6dd4fa771995
parent652e972114c1f10b3015fa1c5e0fd67eb978212b
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