]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: move MSR_IA32_TSC handling to x86.c
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Apr 2018 09:38:35 +0000 (11:38 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Apr 2018 15:50:22 +0000 (17:50 +0200)
commitd1c918c5f0c9493b422819d3066292d3901217c0
tree38f6a692fde1aec7d45e6ac01809aa2dfd243050
parent8830755ec219c0f0717d201b1fe8400eefb7e1c3
kvm: x86: move MSR_IA32_TSC handling to x86.c

This is not specific to Intel/AMD anymore.  The TSC offset is available
in vcpu->arch.tsc_offset.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c