summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorMaxim Levitsky <mlevitsk@redhat.com>2022-02-23 14:56:49 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-02-24 21:04:47 +0300
commite910a53fb4f20aa012e46371ffb4c32c8da259b4 (patch)
tree4ff0d732247af754aa78461f9206dd3afd157943 /include/uapi
parent6f3c1fc53d86d580d8d6d749c4af23705e4f6f79 (diff)
downloadlinux-e910a53fb4f20aa012e46371ffb4c32c8da259b4.tar.xz
KVM: x86: nSVM: disallow userspace setting of MSR_AMD64_TSC_RATIO to non default value when tsc scaling disabled
If nested tsc scaling is disabled, MSR_AMD64_TSC_RATIO should never have non default value. Due to way nested tsc scaling support was implmented in qemu, it would set this msr to 0 when nested tsc scaling was disabled. Ignore that value for now, as it causes no harm. Fixes: 5228eb96a487 ("KVM: x86: nSVM: implement nested TSC scaling") Cc: stable@vger.kernel.org Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20220223115649.319134-1-mlevitsk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions