[PATCH 0/3] Sync TSC for guest when vcpu has been migrated to another cpu

Leonard Norrgard
2007-03-02T16:41:04Z

When a vcpu is migrated to another cpu, an unexpected difference in
current and previous cpu TSC values can cause a guest to wait
indefinitely. A known workaround has been to run kvm with taskset,
locking it to a single cpu. This patch series modifies the guest TSC
offset as needed to guarantee that the guest sees a monotonically
increasing TSC, adds a statistic for vcpu_migrated and updates kvm_stat
so the first column isn't truncated.

[1/3] Sync guest viewable TSC when vcpu migrated
[2/3] Add a vcpu_migrated statistic
[3/3] Widen key column in kvm_stat

-- Leonard