]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68c68f0deb98414a3a07d9169c151c042221fe19
treeb5070f0131091d78f57e6b7f99f6f0611c8276a1
parent708770cc24ada8566f74498d4ddb268b9e6144b4
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