]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: selftests: Extend memstress to run on nested SVM
authorYosry Ahmed <yosry.ahmed@linux.dev>
Tue, 30 Dec 2025 23:01:48 +0000 (15:01 -0800)
committerSean Christopherson <seanjc@google.com>
Thu, 8 Jan 2026 20:02:16 +0000 (12:02 -0800)
commit59eef1a47b8c264d09ee84c909a1da60b4e70bd7
treec410158c361f63053bfe866e56a735ece7c92c3e
parent6794d916f87e0a6cd51a3d8c2c0e6ffd48fa7a79
KVM: selftests: Extend memstress to run on nested SVM

Add L1 SVM code and generalize the setup code to work for both VMX and
SVM. This allows running 'dirty_log_perf_test -n' on AMD CPUs.

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