]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Move vCPU thread creation and joining to common helpers
authorDavid Matlack <dmatlack@google.com>
Thu, 11 Nov 2021 00:12:55 +0000 (00:12 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Nov 2021 12:43:28 +0000 (07:43 -0500)
commit24d2535cd0e33963e5caa74b90391fcbceb8d4d8
tree0e947a01873939ed8db43983f877914ceaf7a866
parenta1fac603e46130560fa4442b57e87e4ca320ed02
KVM: selftests: Move vCPU thread creation and joining to common helpers

Move vCPU thread creation and joining to common helper functions. This
is in preparation for the next commit which ensures that all vCPU
threads are fully created before entering guest mode on any one
vCPU.

No functional change intended.

Signed-off-by: David Matlack <dmatlack@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Message-Id: <20211111001257.1446428-3-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/access_tracking_perf_test.c
tools/testing/selftests/kvm/demand_paging_test.c
tools/testing/selftests/kvm/dirty_log_perf_test.c
tools/testing/selftests/kvm/include/perf_test_util.h
tools/testing/selftests/kvm/lib/perf_test_util.c
tools/testing/selftests/kvm/memslot_modification_stress_test.c