]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: selftests: Extend vmx_nested_tsc_scaling_test to cover SVM
authorYosry Ahmed <yosry.ahmed@linux.dev>
Tue, 21 Oct 2025 07:47:17 +0000 (07:47 +0000)
committerSean Christopherson <seanjc@google.com>
Fri, 21 Nov 2025 00:19:54 +0000 (16:19 -0800)
commite6bcdd21223835a6a5691af224c7c5ff4934436a
treec9029d66b630f733b97d92935787476b685c8b58
parent0a9eb2afa185e84cd6c6b35aefb190e8f92c4c5c
KVM: selftests: Extend vmx_nested_tsc_scaling_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-5-yosry.ahmed@linux.dev
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/Makefile.kvm
tools/testing/selftests/kvm/x86/nested_tsc_scaling_test.c [moved from tools/testing/selftests/kvm/x86/vmx_nested_tsc_scaling_test.c with 83% similarity]