diff options
author | David Matlack <dmatlack@google.com> | 2022-05-20 23:32:44 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-09 10:52:24 -0400 |
commit | c363d95986b1b930947305e2372665141721d15f (patch) | |
tree | b5a48b35f49f5b1b49edd1a3034e20f0f22f1e9a /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | b6c086d04c0a1ba356145cdba5b46bd6cea2b9bd (diff) | |
download | linux-c363d95986b1b930947305e2372665141721d15f.tar.gz linux-c363d95986b1b930947305e2372665141721d15f.tar.bz2 linux-c363d95986b1b930947305e2372665141721d15f.zip |
KVM: selftests: Add a helper to check EPT/VPID capabilities
Create a small helper function to check if a given EPT/VPID capability
is supported. This will be re-used in a follow-up commit to check for 1G
page support.
No functional change intended.
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220520233249.3776001-7-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions