Searched refs:vcpu_thread (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/ |
H A 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() 181 pthread_t vcpu_thread; in test_move_memory_region() local 186 vm = spawn_vm(&vcpu, &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 266 vm = spawn_vm(&vcpu, &vcpu_thread, guest_code_delete_memory_region); in test_delete_memory_region() 288 pthread_join(vcpu_thread, NULL); in test_delete_memory_region()
|
H A D | dirty_log_test.c | 194 static pthread_t vcpu_thread; variable 199 pthread_kill(vcpu_thread, SIG_IPI); in vcpu_kick() 795 pthread_create(&vcpu_thread, NULL, vcpu_worker, vcpu); in run_test() 835 pthread_join(vcpu_thread, NULL); in run_test()
|
H A D | memslot_perf_test.c | 86 pthread_t vcpu_thread; member 364 pthread_create(&data->vcpu_thread, NULL, vcpu_worker, data); in launch_vm() 379 pthread_join(data->vcpu_thread, NULL); in wait_guest_exit()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | memstress.c | 22 struct vcpu_thread { struct 34 static struct vcpu_thread vcpu_threads[KVM_MAX_VCPUS]; argument 270 struct vcpu_thread *vcpu = data; in vcpu_thread_main() 302 struct vcpu_thread *vcpu = &vcpu_threads[i]; in memstress_start_vcpu_threads()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_ipi.c | 209 static void *vcpu_thread(void *arg) in vcpu_thread() function 276 r = pthread_create(&threads[0], NULL, vcpu_thread, vcpu[1]); in main() 279 r = pthread_create(&threads[1], NULL, vcpu_thread, vcpu[2]); in main()
|
H A D | xapic_ipi_test.c | 194 static void *vcpu_thread(void *arg) in vcpu_thread() function 435 r = pthread_create(&threads[0], NULL, vcpu_thread, ¶ms[0]); in main() 454 r = pthread_create(&threads[1], NULL, vcpu_thread, ¶ms[1]); in main()
|
H A D | hyperv_tlb_flush.c | 539 static void *vcpu_thread(void *arg) in vcpu_thread() function 646 r = pthread_create(&threads[0], NULL, vcpu_thread, vcpu[1]); in main() 649 r = pthread_create(&threads[1], NULL, vcpu_thread, vcpu[2]); in main()
|