]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: selftests: Extend vmx_dirty_log_test to cover SVM
authorYosry Ahmed <yosry.ahmed@linux.dev>
Tue, 30 Dec 2025 23:01:47 +0000 (15:01 -0800)
committerSean Christopherson <seanjc@google.com>
Thu, 8 Jan 2026 20:02:16 +0000 (12:02 -0800)
commit6794d916f87e0a6cd51a3d8c2c0e6ffd48fa7a79
tree60f678819ceec4e8ab6a7655e49e55d83fbd7938
parent251e4849a79b258fd3e889ff095ba083ce301c13
KVM: selftests: Extend vmx_dirty_log_test to cover SVM

Generalize the code in vmx_dirty_log_test.c by adding SVM-specific L1
code, doing some renaming (e.g. EPT -> TDP), and having setup code for
both SVM and VMX in test_dirty_log().

Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Link: https://patch.msgid.link/20251230230150.4150236-19-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/Makefile.kvm
tools/testing/selftests/kvm/x86/nested_dirty_log_test.c [moved from tools/testing/selftests/kvm/x86/vmx_dirty_log_test.c with 71% similarity]