OSDN Git Service

KVM: selftests: Fix population stage in dirty_log_perf_test
authorBen Gardon <bgardon@google.com>
Tue, 12 Jan 2021 21:42:51 +0000 (13:42 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 10:27:18 +0000 (05:27 -0500)
commit86753bd04c7ca6b551b83c5395dd25e95de99aa4
treeb5070f0131091d78f57e6b7f99f6f0611c8276a1
parent2d501238bc257ae86b345cb23fae3fd1af14687e
KVM: selftests: Fix population stage in dirty_log_perf_test

Currently the population stage in the dirty_log_perf_test does nothing
as the per-vCPU iteration counters are not initialized and the loop does
not wait for each vCPU. Remedy those errors.

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