Re: [PATCH v7 10/14] KVM: selftests: Use a single binary for dirty/clear log test

Andrew Jones
2020-03-19T07:44:50Z

On Wed, Mar 18, 2020 at 12:37:16PM -0400, Peter Xu wrote:
> Remove the clear_dirty_log test, instead merge it into the existing
> dirty_log_test. It should be cleaner to use this single binary to do
> both tests, also it's a preparation for the upcoming dirty ring test.
>
> The default behavior will run all the modes in sequence.
>
> Signed-off-by: Peter Xu <peterx@redhat.com>
> ---
> tools/testing/selftests/kvm/Makefile | 2 -
> .../selftests/kvm/clear_dirty_log_test.c | 6 -
> tools/testing/selftests/kvm/dirty_log_test.c | 187 +++++++++++++++---
> 3 files changed, 156 insertions(+), 39 deletions(-)
> delete mode 100644 tools/testing/selftests/kvm/clear_dirty_log_test.c
>

Reviewed-by: Andrew Jones <drjones@redhat.com>