summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Matlack <dmatlack@google.com>2022-11-16 12:46:31 -0800
committerSean Christopherson <seanjc@google.com>2022-11-16 16:59:07 -0800
commit5c107f7085f45e071bbcf13006fffccd8e5de0e1 (patch)
tree3f48203a822b60f2ee20f3b2744f3635d9f94b00 /arch
parentecb89a51724b3cd89c13ba7364e82f9879b68dcf (diff)
downloadlinux-5c107f7085f45e071bbcf13006fffccd8e5de0e1.tar.bz2
KVM: selftests: Assert in prepare_eptp() that nEPT is supported
Now that a VM isn't needed to check for nEPT support, assert that KVM supports nEPT in prepare_eptp() instead of skipping the test, and push the TEST_REQUIRE() check out to individual tests. The require+assert are somewhat redundant and will incur some amount of ongoing maintenance burden, but placing the "require" logic in the test makes it easier to find/understand a test's requirements and in this case, provides a very strong hint that the test cares about nEPT. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: David Matlack <dmatlack@google.com> Link: https://lore.kernel.org/r/20220927165209.930904-1-dmatlack@google.com [sean: rebase on merged code, write changelog] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions