diff options
author | Jim Mattson <jmattson@google.com> | 2022-08-11 00:30:50 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-08-19 14:38:04 +0300 |
commit | 020dac4187968535f089f83f376a72beb3451311 (patch) | |
tree | 78e1c0bdda5bc168482b4cb906127fc5b62c2849 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b64d740ea7ddc929d97b28de4c0665f7d5db9e2a (diff) | |
download | linux-020dac4187968535f089f83f376a72beb3451311.tar.xz |
KVM: VMX: Heed the 'msr' argument in msr_write_intercepted()
Regardless of the 'msr' argument passed to the VMX version of
msr_write_intercepted(), the function always checks to see if a
specific MSR (IA32_SPEC_CTRL) is intercepted for write. This behavior
seems unintentional and unexpected.
Modify the function so that it checks to see if the provided 'msr'
index is intercepted for write.
Fixes: 67f4b9969c30 ("KVM: nVMX: Handle dynamic MSR intercept toggling")
Cc: Sean Christopherson <seanjc@google.com>
Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220810213050.2655000-1-jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions