commit | bc9b961b357ea8129d75613b7af4fdf57ced9b9f | [log] [tgz] |
---|---|---|
author | Haozhong Zhang <haozhong.zhang@intel.com> | Tue Oct 20 15:39:01 2015 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Nov 10 12:06:14 2015 +0100 |
tree | 48a66aa2209463b4c59bb47510400780ca83902c | |
parent | 893590c73426585dfd9f33358b19f18d9395fb2f [diff] |
KVM: x86: Collect information for setting TSC scaling ratio The number of bits of the fractional part of the 64-bit TSC scaling ratio in VMX and SVM is different. This patch makes the architecture code to collect the number of fractional bits and other related information into variables that can be accessed in the common code. Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>