KVM: VMX: Enable and initialize VMX TSC scaling
authorHaozhong Zhang <haozhong.zhang@intel.com>
Tue, 20 Oct 2015 07:39:09 +0000 (15:39 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Nov 2015 11:06:19 +0000 (12:06 +0100)
commit64903d6195cbfb051ce339d30848cc64babdba12
tree65dd3437e5ffdd2609de4a94be9ebe4ae22c9cf0
parent27cca94e032c1749825fdd9b6b379e4235cd52e1
KVM: VMX: Enable and initialize VMX TSC scaling

This patch exhances kvm-intel module to enable VMX TSC scaling and
collects information of TSC scaling ratio during initialization.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/vmx.h
arch/x86/kvm/vmx.c