]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: allow two iterations of dirty_log_perf_test
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 9 Nov 2020 14:45:17 +0000 (09:45 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 9 Nov 2020 14:45:17 +0000 (09:45 -0500)
commit3497a76a0da760fcb9a365ffdb638731e563eea8
treecbc9a252881d99fe6ab8a9deffe6949f9752d82d
parent4583fdeacee9c2c6a2818d1752af4ed7d5c1a802
KVM: selftests: allow two iterations of dirty_log_perf_test

Even though one iteration is not enough for the dirty log performance
test (due to the cost of building page tables, zeroing memory etc.)
two is okay and it is the default.  Without this patch,
"./dirty_log_perf_test" without any further arguments fails.

Cc: Ben Gardon <bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/dirty_log_perf_test.c