KVM: selftests: Cleanups
Status from this message: Queued (or overridden by patches already in queue) patches 1-8, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | KVM: selftests: Add x86_64/tsc_msrs_test to .gitignoretools/ | +1 | 0 replies | |
| 2/11 | KVM: selftests: Drop pointless vm_create wrappertools/ tools/ tools/ +1 more | +3 | 0 replies | |
| 3/11 | KVM: selftests: Always clear dirty bitmap after iterationtools/ | +1 | 0 replies | |
| 4/11 | KVM: selftests: Use a single binary for dirty/clear log testtools/ tools/ tools/ +1 more | +156 | 0 replies | |
| 5/11 | KVM: selftests: Introduce after_vcpu_run hook for dirty log testtools/ | +24 | 0 replies | |
| 6/11 | KVM: selftests: Make the per vcpu memory size globaltools/ | +17 | 0 replies | |
| 7/11 | KVM: selftests: Make the number of vcpus globaltools/ | +20 | 0 replies | |
| 8/11 | KVM: selftests: Factor out guest mode codetools/ tools/ tools/ +2 more | +150 | 0 replies | |
| 9/11 | KVM: selftests: Make vm_create_default commontools/ tools/ tools/ +4 more | +37 | 5 replies | |
| 10/11 | KVM: selftests: Introduce vm_create_[default_]vcpustools/ tools/ | +41 | 0 replies | |
| 11/11 | KVM: selftests: Remove create_vmtools/ tools/ tools/ +1 more | +37 | 0 replies |
Reviews trailers per patch
3 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Jones | Christian Borntraeger |
|---|---|---|
| Series | T-b | |
| 1/11 | ||
| 2/11 | ||
| 3/11 | R-b | |
| 4/11 | R-b | |
| 5/11 | R-b | |
| 6/11 | ||
| 7/11 | ||
| 8/11 | ||
| 9/11 | ||
| 10/11 | ||
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] KVM: selftests: Cleanups
This series attempts to clean up demand_paging_test and dirty_log_test by factoring out common code, creating some new API along the way. It's main goal is to prepare for even more factoring that Ben and Peter want to do. The series would have a nice negative diff stat, but it also picks up a few of Peter's patches for his new dirty log test. So, the +/- diff stat is close to equal. It's not as close as an electoral vote count, but it's close.
I've tested on x86 and AArch64 (one config each), but not s390x.
Thanks,
drew
Andrew Jones (8):
KVM: selftests: Add x86_64/tsc_msrs_test to .gitignore
KVM: selftests: Drop pointless vm_create wrapper
KVM: selftests: Make the per vcpu memory size global
KVM: selftests: Make the number of vcpus global
KVM: selftests: Factor out guest mode code
KVM: selftests: Make vm_create_default common
KVM: selftests: Introduce vm_create_[default_]vcpus
KVM: selftests: Remove create_vm
Peter Xu (3):
KVM: selftests: Always clear dirty bitmap after iteration
KVM: selftests: Use a single binary for dirty/clear log test
KVM: selftests: Introduce after_vcpu_run hook for dirty log test
tools/testing/selftests/kvm/.gitignore | 2 +- tools/testing/selftests/kvm/Makefile | 4 +- .../selftests/kvm/clear_dirty_log_test.c | 6 - .../selftests/kvm/demand_paging_test.c | 213 +++------- tools/testing/selftests/kvm/dirty_log_test.c | 372 ++++++++++-------- .../selftests/kvm/include/aarch64/processor.h | 3 + .../selftests/kvm/include/guest_modes.h | 21 + .../testing/selftests/kvm/include/kvm_util.h | 20 +- .../selftests/kvm/include/s390x/processor.h | 4 + .../selftests/kvm/include/x86_64/processor.h | 4 + .../selftests/kvm/lib/aarch64/processor.c | 17 - tools/testing/selftests/kvm/lib/guest_modes.c | 70 ++++ tools/testing/selftests/kvm/lib/kvm_util.c | 62 ++- .../selftests/kvm/lib/s390x/processor.c | 22 -- .../selftests/kvm/lib/x86_64/processor.c | 32 -- 15 files changed, 445 insertions(+), 407 deletions(-) delete mode 100644 tools/testing/selftests/kvm/clear_dirty_log_test.c create mode 100644 tools/testing/selftests/kvm/include/guest_modes.h create mode 100644 tools/testing/selftests/kvm/lib/guest_modes.c
Signature · 1 line
2.26.2