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>
This commit is contained in:
Yosry Ahmed 2025-10-21 07:47:17 +00:00 • committed by Sean Christopherson
commit e6bcdd2122
3 changed files with 245 additions and 207 deletions