linux_dsm_epyc7002/arch/x86/include
Haozhong Zhang 58ea676787 KVM: x86: Move TSC scaling logic out of call-back adjust_tsc_offset()
For both VMX and SVM, if the 2nd argument of call-back
adjust_tsc_offset() is the host TSC, then adjust_tsc_offset() will scale
it first. This patch moves this common TSC scaling logic to its caller
adjust_tsc_offset_host() and rename the call-back adjust_tsc_offset() to
adjust_tsc_offset_guest().

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-11-10 12:06:17 +01:00
..
asm KVM: x86: Move TSC scaling logic out of call-back adjust_tsc_offset() 2015-11-10 12:06:17 +01:00
uapi/asm drivers/hv: share Hyper-V SynIC constants with userspace 2015-11-04 16:24:33 +01:00