Re: [PATCH v2 04/23] KVM: selftests: Extend vmx_nested_tsc_scaling_test to cover SVM
From: Sean Christopherson
Date: Thu Nov 20 2025 - 18:54:12 EST
On Tue, Oct 21, 2025, Yosry Ahmed wrote:
> 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@xxxxxxxxx>
> ---
> tools/testing/selftests/kvm/Makefile.kvm | 2 +-
> ...aling_test.c => nested_tsc_scaling_test.c} | 48 +++++++++++++++++--
> 2 files changed, 44 insertions(+), 6 deletions(-)
> rename tools/testing/selftests/kvm/x86/{vmx_nested_tsc_scaling_test.c => nested_tsc_scaling_test.c} (83%)
>
> diff --git a/tools/testing/selftests/kvm/Makefile.kvm b/tools/testing/selftests/kvm/Makefile.kvm
> index e70a844a52bdc..bb2ff7927ef57 100644
> --- a/tools/testing/selftests/kvm/Makefile.kvm
> +++ b/tools/testing/selftests/kvm/Makefile.kvm
> @@ -119,7 +119,7 @@ TEST_GEN_PROGS_x86 += x86/vmx_msrs_test
> TEST_GEN_PROGS_x86 += x86/vmx_invalid_nested_guest_state
> TEST_GEN_PROGS_x86 += x86/vmx_la57_nested_state_test
> TEST_GEN_PROGS_x86 += x86/vmx_tsc_adjust_test
> -TEST_GEN_PROGS_x86 += x86/vmx_nested_tsc_scaling_test
> +TEST_GEN_PROGS_x86 += x86/nested_tsc_scaling_test
Please keep the tests sorted (bad apic_bus_clock_test, bad test).