KVM: VMX: Don't adjust tsc offset forward
commit019960ae9933161c2809fa4ee608ba30d9639fd2
authorAvi Kivity <avi@qumranet.com>
Tue, 4 Mar 2008 08:44:51 +0000 (4 10:44 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:27 +0000 (27 11:53 +0300)
treec4ded864dfd339a2c64451220d0866eba854b63c
parentb8688d51bbe4872fbcec751e04369606082ac610
KVM: VMX: Don't adjust tsc offset forward

Most Intel hosts have a stable tsc, and playing with the offset only
reduces accuracy.  By limiting tsc offset adjustment only to forward updates,
we effectively disable tsc offset adjustment on these hosts.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/vmx.c