commit | 27cca94e032c1749825fdd9b6b379e4235cd52e1 | [log] [tgz] |
---|---|---|
author | Haozhong Zhang <haozhong.zhang@intel.com> | Tue Oct 20 15:39:08 2015 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Nov 10 12:06:18 2015 +0100 |
tree | ab4c1deff2a494fcb2a51a00851f2bb4e70d84f0 | |
parent | 4ba76538dd52dd9b18b464e509cb8f3ed4ed993f [diff] |
KVM: x86: Use the correct vcpu's TSC rate to compute time scale This patch makes KVM use virtual_tsc_khz rather than the host TSC rate as vcpu's TSC rate to compute the time scale if TSC scaling is enabled. Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>