diff options
author | Sean Christopherson <seanjc@google.com> | 2024-08-02 11:19:27 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-08-22 12:06:29 -0700 |
commit | b58b808cbe93e8abe936b285ae534c9927789242 (patch) | |
tree | b1cc6204c4892cfdf8a36a4a6c3338c44c570b9b /tools/perf/scripts/python | |
parent | 74a0e79df68a8042fb84fd7207e57b70722cf825 (diff) |
KVM: x86: Move MSR_TYPE_{R,W,RW} values from VMX to x86, as enums
Move VMX's MSR_TYPE_{R,W,RW} #defines to x86.h, as enums, so that they can
be used by common x86 code, e.g. instead of doing "bool write".
Opportunistically tweak the definitions to make it more obvious that the
values are bitmasks, not arbitrary ascending values.
No functional change intended.
Link: https://lore.kernel.org/r/20240802181935.292540-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions