commit | 2680d6da455b636dd006636780c0f235c6561d70 | [log] [tgz] |
---|---|---|
author | Owen Hofmann <osh@google.com> | Tue Mar 01 13:36:13 2016 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Mar 02 10:37:32 2016 +0100 |
tree | 670ef91dac86f41a879067abd51aa91f8b62a230 | |
parent | 0178fd7dcc4451fcb90bec5e91226586962478d2 [diff] |
kvm: x86: Update tsc multiplier on change. vmx.c writes the TSC_MULTIPLIER field in vmx_vcpu_load, but only when a vcpu has migrated physical cpus. Record the last value written and update in vmx_vcpu_load on any change, otherwise a cpu migration must occur for TSC frequency scaling to take effect. Cc: stable@vger.kernel.org Fixes: ff2c3a1803775cc72dc6f624b59554956396b0ee Signed-off-by: Owen Hofmann <osh@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>