diff options
author | David Matlack <dmatlack@google.com> | 2021-11-11 00:12:54 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-16 07:43:27 -0500 |
commit | 36c5ad73d7016f34146cf0821c78f08737bdb5e9 (patch) | |
tree | 628d9653bc322f2db33d3ff638a8f0bc0b159b86 /tools/testing/selftests/kvm/lib/perf_test_util.c | |
parent | 13bbc70329c8df003e64c4fbea8678f9db0e75d5 (diff) |
KVM: selftests: Start at iteration 0 instead of -1
Start at iteration 0 instead of -1 to avoid having to initialize
vcpu_last_completed_iteration when setting up vCPU threads. This
simplifies the next commit where we move vCPU thread initialization
out to a common helper.
No functional change intended.
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20211111001257.1446428-2-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/perf_test_util.c')
0 files changed, 0 insertions, 0 deletions