OSDN Git Service

KVM: selftests: Convert iterations to int in dirty_log_perf_test
authorBen Gardon <bgardon@google.com>
Tue, 12 Jan 2021 21:42:50 +0000 (13:42 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 10:27:18 +0000 (05:27 -0500)
commit2d501238bc257ae86b345cb23fae3fd1af14687e
treef842f995b06951e99c24ec0ac9a2c3e8dc9384bf
parent89dc52946a165b5396d4b84717d36ded8c5783c7
KVM: selftests: Convert iterations to int in dirty_log_perf_test

In order to add an iteration -1 to indicate that the memory population
phase has not yet completed, convert the interations counters to ints.

No functional change intended.

Reviewed-by: Jacob Xu <jacobhxu@google.com>
Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20210112214253.463999-4-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/dirty_log_perf_test.c