diff options
author | Sean Christopherson <[email protected]> | 2024-08-02 11:19:27 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-08-22 12:06:29 -0700 |
commit | b58b808cbe93e8abe936b285ae534c9927789242 (patch) | |
tree | b1cc6204c4892cfdf8a36a4a6c3338c44c570b9b /tools/testing/selftests/bpf/progs/test_autoload.c | |
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/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions