Home
last modified time | relevance | path

Searched refs:vcpu_thread (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/kvm/
A Dset_memory_region_test.c116 static struct kvm_vm *spawn_vm(pthread_t *vcpu_thread, void *guest_code) in spawn_vm() argument
141 pthread_create(vcpu_thread, NULL, vcpu_worker, vm); in spawn_vm()
182 pthread_t vcpu_thread; in test_move_memory_region() local
186 vm = spawn_vm(&vcpu_thread, guest_code_move_memory_region); in test_move_memory_region()
217 pthread_join(vcpu_thread, NULL); in test_move_memory_region()
260 pthread_t vcpu_thread; in test_delete_memory_region() local
265 vm = spawn_vm(&vcpu_thread, guest_code_delete_memory_region); in test_delete_memory_region()
287 pthread_join(vcpu_thread, NULL); in test_delete_memory_region()
A Ddirty_log_test.c192 static pthread_t vcpu_thread; variable
197 pthread_kill(vcpu_thread, SIG_IPI); in vcpu_kick()
784 pthread_create(&vcpu_thread, NULL, vcpu_worker, vm); in run_test()
817 pthread_join(vcpu_thread, NULL); in run_test()
A Dmemslot_perf_test.c93 pthread_t vcpu_thread; member
337 pthread_create(&data->vcpu_thread, NULL, vcpu_worker, data); in launch_vm()
352 pthread_join(data->vcpu_thread, NULL); in wait_guest_exit()
/linux/tools/testing/selftests/kvm/lib/
A Dperf_test_util.c19 struct vcpu_thread { struct
31 static struct vcpu_thread vcpu_threads[KVM_MAX_VCPUS]; argument
203 struct vcpu_thread *vcpu = data; in vcpu_thread_main()
229 struct vcpu_thread *vcpu = &vcpu_threads[vcpu_id]; in perf_test_start_vcpu_threads()
/linux/tools/testing/selftests/kvm/x86_64/
A Dxapic_ipi_test.c198 static void *vcpu_thread(void *arg) in vcpu_thread() function
446 r = pthread_create(&threads[0], NULL, vcpu_thread, &params[0]); in main()
466 r = pthread_create(&threads[1], NULL, vcpu_thread, &params[1]); in main()

Completed in 16 milliseconds