KVM: x86: Fix deep C-state TSC desynchronization
authorZachary Amsden <zamsden@redhat.com>
Fri, 20 Aug 2010 08:07:24 +0000 (22:07 -1000)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:23 +0000 (10:51 +0200)
commit48434c20e18d59001469699fcaaf9cf30b815a20
tree8c7f91598f3ea56550e86599c18b3e0b7daf6361
parente48672fa25e879f7ae21785c7efd187738139593
KVM: x86: Fix deep C-state TSC desynchronization

When CPUs with unstable TSCs enter deep C-state, TSC may stop
running.  This causes us to require resynchronization.  Since
we can't tell when this may potentially happen, we assume the
worst by forcing re-compensation for it at every point the VCPU
task is descheduled.

Signed-off-by: Zachary Amsden <zamsden@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c