KVM: x86: Unify TSC logic
authorZachary Amsden <zamsden@redhat.com>
Fri, 20 Aug 2010 08:07:23 +0000 (22:07 -1000)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:23 +0000 (10:51 +0200)
commite48672fa25e879f7ae21785c7efd187738139593
treebec27bad04ba6e933e72439cc565d2c752a31928
parent6755bae8e69093b2994b6f29cd3eaecdf610374e
KVM: x86: Unify TSC logic

Move the TSC control logic from the vendor backends into x86.c
by adding adjust_tsc_offset to x86 ops.  Now all TSC decisions
can be done in one place.

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