]> git.karo-electronics.de Git - linux-beck.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)
commitbe7b263ea925324e54e48c3558d4719be5374053
tree245efef98da5c746c65f58c1ec44f8bfc84193a3
parentff2c3a1803775cc72dc6f624b59554956396b0ee
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