Re: [PATCH 00/11] KVM: selftests: Cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04.11.20 22:23, Andrew Jones wrote:
> 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.

I see no regression when I run 
make TARGETS=kvm kselftest

on an s390 system with these patches applied.

Tested-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>


> 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
> 



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux