1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/kvm/lib/x86_64
David Matlack 71d4896619 KVM: selftests: Add option to run dirty_log_perf_test vCPUs in L2
Add an option to dirty_log_perf_test that configures the vCPUs to run in
L2 instead of L1. This makes it possible to benchmark the dirty logging
performance of nested virtualization, which is particularly interesting
because KVM must shadow L1's EPT/NPT tables.

For now this support only works on x86_64 CPUs with VMX. Otherwise
passing -n results in the test being skipped.

Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220520233249.3776001-11-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-06-09 10:52:27 -04:00
..
apic.c KVM: selftests: Introduce x2APIC register manipulation functions 2021-06-17 13:09:32 -04:00
handlers.S selftests: kvm: remove reassignment of non-absolute variables 2021-05-07 06:06:13 -04:00
perf_test_util.c KVM: selftests: Add option to run dirty_log_perf_test vCPUs in L2 2022-06-09 10:52:27 -04:00
processor.c KVM: selftests: Replace x86_page_size with PG_LEVEL_XX 2022-06-09 10:52:22 -04:00
svm.c KVM: selftests: nSVM: Set up MSR-Bitmap for SVM guests 2022-02-10 13:50:47 -05:00
ucall.c selftests: kvm: Clear uc so UCALL_NONE is being properly reported 2020-11-08 06:02:14 -05:00
vmx.c KVM: selftests: Add option to run dirty_log_perf_test vCPUs in L2 2022-06-09 10:52:27 -04:00