KVM: x86: Convert TSC writes to TSC offset writes
authorZachary Amsden <zamsden@redhat.com>
Fri, 20 Aug 2010 08:07:16 +0000 (22:07 -1000)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:22 +0000 (10:51 +0200)
commitf4e1b3c8bd2a044cd0ccf80595bfd088a49fe60b
tree0f494d950f3582d0ed4bb8218cdf6541578a2d46
parentae38436b78a8abff767e2ac10e2cd663a7eef476
KVM: x86: Convert TSC writes to TSC offset writes

Change svm / vmx to be the same internally and write TSC offset
instead of bare TSC in helper functions.  Isolated as a single
patch to contain code movement.

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