commit | e53d88af63ab4104e1226b8f9959f1e9903da10b | [log] [tgz] |
---|---|---|
author | Jim Mattson <jmattson@google.com> | Tue Oct 30 12:20:21 2018 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Dec 14 18:00:01 2018 +0100 |
tree | fe65c2ced84ae61f3643a54a34f43b623d2fbb1d | |
parent | 3d82c565a7a237b9dd4666f17c84dcc028d2bed5 [diff] |
kvm: x86: Don't modify MSR_PLATFORM_INFO on vCPU reset If userspace has provided a different value for this MSR (e.g with the turbo bits set), the userspace-provided value should survive a vCPU reset. For backwards compatibility, MSR_PLATFORM_INFO is initialized in kvm_arch_vcpu_setup. Signed-off-by: Jim Mattson <jmattson@google.com> Reviewed-by: Drew Schmitt <dasch@google.com> Cc: Abhiroop Dabral <adabral@paloaltonetworks.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>