KVM: selftests: Move KVM_FEP macro into common library header
authorSean Christopherson <seanjc@google.com>
Tue, 9 Jan 2024 23:02:45 +0000 (15:02 -0800)
committerSean Christopherson <seanjc@google.com>
Tue, 30 Jan 2024 23:29:43 +0000 (15:29 -0800)
commit00856e17da730299205270234cda30628ae53b92
treedf232f48211279e016e51bceeb4b1e8d78e37da7
parent0326cc6b02c8e099bb6631168791924be097e1d9
KVM: selftests: Move KVM_FEP macro into common library header

Move the KVM_FEP definition, a.k.a. the KVM force emulation prefix, into
processor.h so that it can be used for other tests besides the MSR filter
test.

Tested-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://lore.kernel.org/r/20240109230250.424295-26-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/x86_64/userspace_msr_exit_test.c