]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: selftests: Move nested invalid CR3 check to its own test
authorYosry Ahmed <yosry.ahmed@linux.dev>
Tue, 21 Oct 2025 07:47:18 +0000 (07:47 +0000)
committerSean Christopherson <seanjc@google.com>
Fri, 21 Nov 2025 00:19:54 +0000 (16:19 -0800)
commit4d256d00e44e02fae84851729d70df2bc2ebe6e9
tree331b20914776a3e175833c9ccde9ae71ad23e71c
parente6bcdd21223835a6a5691af224c7c5ff4934436a
KVM: selftests: Move nested invalid CR3 check to its own test

vmx_tsc_adjust_test currently verifies that a nested VMLAUNCH fails with
an invalid CR3. This is irrelevant to TSC scaling, move it to a
standalone test.

Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Link: https://patch.msgid.link/20251021074736.1324328-6-yosry.ahmed@linux.dev
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/Makefile.kvm
tools/testing/selftests/kvm/x86/nested_invalid_cr3_test.c [new file with mode: 0644]
tools/testing/selftests/kvm/x86/vmx_tsc_adjust_test.c