diff options
author | Sean Christopherson <seanjc@google.com> | 2023-06-07 13:35:17 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-08-02 16:41:54 -0700 |
commit | d518f8cc10af7a1265595fccf553a3a5f7121e4f (patch) | |
tree | 77897fb6fafea8df7389ad1893bc293d28fac1f0 /scripts/rustdoc_test_builder.rs | |
parent | a6bb5709029756a6151afed0eec26ba2bfabed51 (diff) |
KVM: SVM: Fix dead KVM_BUG() code in LBR MSR virtualization
Refactor KVM's handling of LBR MSRs on SVM to avoid a second layer of
case statements, and thus eliminate a dead KVM_BUG() call, which (a) will
never be hit in the current code base and (b) if a future commit breaks
things, will never fire as KVM passes "false" instead "true" or '1' for
the KVM_BUG() condition.
Reported-by: Michal Luczaj <mhal@rbox.co>
Cc: Yuan Yao <yuan.yao@intel.com>
Link: https://lore.kernel.org/r/20230607203519.1570167-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions