summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2008-06-06 21:37:35 +0200
committerAvi Kivity <avi@qumranet.com>2008-06-24 11:16:52 +0200
commitd4acf7e7abe45457e751525a2a4d5b693dfdd597 (patch)
tree2ff1cf6f59b0591ea39c0457705188d5f46cb118 /arch/ia64
parentMerge branch 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 (diff)
downloadlinux-d4acf7e7abe45457e751525a2a4d5b693dfdd597.tar.xz
linux-d4acf7e7abe45457e751525a2a4d5b693dfdd597.zip
KVM: Fix race between timer migration and vcpu migration
A guest vcpu instance can be scheduled to a different physical CPU between the test for KVM_REQ_MIGRATE_TIMER and local_irq_disable(). If that happens, the timer will only be migrated to the current pCPU on the next exit, meaning that guest LAPIC timer event can be delayed until a host interrupt is triggered. Fix it by cancelling guest entry if any vcpu request is pending. This has the side effect of nicely consolidating vcpu->requests checks. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions