KVM: selftests: Move VMX_EPT_VPID_CAP_AD_BITS to vmx.h
authorDavid Matlack <dmatlack@google.com>
Fri, 20 May 2022 23:32:43 +0000 (23:32 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jun 2022 14:52:24 +0000 (10:52 -0400)
commitb6c086d04c0a1ba356145cdba5b46bd6cea2b9bd
tree1ba266aaf51975613b0f3a73c956ec9ab8d26f95
parentce690e9c17d27486af879defc506679cbbb14777
KVM: selftests: Move VMX_EPT_VPID_CAP_AD_BITS to vmx.h

This is a VMX-related macro so move it to vmx.h. While here, open code
the mask like the rest of the VMX bitmask macros.

No functional change intended.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220520233249.3776001-6-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/include/x86_64/vmx.h