]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: selftests: Extend nested_invalid_cr3_test to cover SVM
authorYosry Ahmed <yosry.ahmed@linux.dev>
Tue, 21 Oct 2025 07:47:19 +0000 (07:47 +0000)
committerSean Christopherson <seanjc@google.com>
Fri, 21 Nov 2025 00:19:55 +0000 (16:19 -0800)
commit91423b041d3ca9f07ebc0c7859a20ac7eac8c755
tree8ebb1271e424ee2a316396b0d156f9295affc02a
parent4d256d00e44e02fae84851729d70df2bc2ebe6e9
KVM: selftests: Extend nested_invalid_cr3_test to cover SVM

Add SVM L1 code to run the nested guest, and allow the test to run with
SVM as well as VMX.

Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Link: https://patch.msgid.link/20251021074736.1324328-7-yosry.ahmed@linux.dev
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86/nested_invalid_cr3_test.c