Searched refs:vcpu_thread (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/tools/testing/selftests/kvm/ |
D | set_memory_region_test.c | 111 static struct kvm_vm *spawn_vm(struct kvm_vcpu **vcpu, pthread_t *vcpu_thread, in spawn_vm() argument 137 pthread_create(vcpu_thread, NULL, vcpu_worker, *vcpu); in spawn_vm() 178 pthread_t vcpu_thread; in test_move_memory_region() local 183 vm = spawn_vm(&vcpu, &vcpu_thread, guest_code_move_memory_region); in test_move_memory_region() 214 pthread_join(vcpu_thread, NULL); in test_move_memory_region() 257 pthread_t vcpu_thread; in test_delete_memory_region() local 263 vm = spawn_vm(&vcpu, &vcpu_thread, guest_code_delete_memory_region); in test_delete_memory_region() 285 pthread_join(vcpu_thread, NULL); in test_delete_memory_region()
|
D | dirty_log_test.c | 191 static pthread_t vcpu_thread; variable 196 pthread_kill(vcpu_thread, SIG_IPI); in vcpu_kick() 775 pthread_create(&vcpu_thread, NULL, vcpu_worker, vcpu); in run_test() 808 pthread_join(vcpu_thread, NULL); in run_test()
|
D | memslot_perf_test.c | 92 pthread_t vcpu_thread; member 335 pthread_create(&data->vcpu_thread, NULL, vcpu_worker, data); in launch_vm() 350 pthread_join(data->vcpu_thread, NULL); in wait_guest_exit()
|
/Linux-v6.1/tools/testing/selftests/kvm/lib/ |
D | perf_test_util.c | 19 struct vcpu_thread { struct 31 static struct vcpu_thread vcpu_threads[KVM_MAX_VCPUS]; argument 245 struct vcpu_thread *vcpu = data; in vcpu_thread_main() 272 struct vcpu_thread *vcpu = &vcpu_threads[i]; in perf_test_start_vcpu_threads()
|
/Linux-v6.1/tools/testing/selftests/kvm/x86_64/ |
D | xapic_ipi_test.c | 194 static void *vcpu_thread(void *arg) in vcpu_thread() function 439 r = pthread_create(&threads[0], NULL, vcpu_thread, ¶ms[0]); in main() 458 r = pthread_create(&threads[1], NULL, vcpu_thread, ¶ms[1]); in main()
|