commit | 07c1419a32bbba08cf1efb6d1ecaf24f174fa4c3 | [log] [tgz] |
---|---|---|
author | Haozhong Zhang <haozhong.zhang@intel.com> | Tue Oct 20 15:39:05 2015 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Nov 10 12:06:16 2015 +0100 |
tree | af346dcf95cb8a00fc2090f095a9b43c4d71ead4 | |
parent | 381d585c80e34988269bd7901ad910981e900be1 [diff] |
KVM: x86: Replace call-back compute_tsc_offset() with a common function Both VMX and SVM calculate the tsc-offset in the same way, so this patch removes the call-back compute_tsc_offset() and replaces it with a common function kvm_compute_tsc_offset(). Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>