diff options
author | Sean Christopherson <seanjc@google.com> | 2024-08-02 11:19:33 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-08-22 12:07:37 -0700 |
commit | 3adef9034596a8ba6415e6e460209cd9fc524e81 (patch) | |
tree | 2b9cf08d59969e86abdb09da5c7e8a1ab4ef33eb /tools/perf/scripts/python/gecko.py | |
parent | 1cec2034980ad03ebf8ce0f187a8f3101c33e611 (diff) |
KVM: x86: Hoist x86.c's global msr_* variables up above kvm_do_msr_access()
Move the definitions of the various MSR arrays above kvm_do_msr_access()
so that kvm_do_msr_access() can query the arrays when handling failures,
e.g. to squash errors if userspace tries to read an MSR that isn't fully
supported, but that KVM advertised as being an MSR-to-save.
No functional change intended.
Link: https://lore.kernel.org/r/20240802181935.292540-9-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions