]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Use a scaled host TSC for guest readings of MSR_IA32_TSC
authorHaozhong Zhang <haozhong.zhang@intel.com>
Tue, 20 Oct 2015 07:39:11 +0000 (15:39 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Nov 2015 11:06:21 +0000 (12:06 +0100)
commitf54fcec10354981917138144bd745e8be3d74a61
tree245efef98da5c746c65f58c1ec44f8bfc84193a3
parentc877c72a0ac54c2f0187a2a67f5e6cd2be77e423
KVM: VMX: Use a scaled host TSC for guest readings of MSR_IA32_TSC

This patch makes kvm-intel to return a scaled host TSC plus the TSC
offset when handling guest readings to MSR_IA32_TSC.

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