Lines Matching full:vcpus
41 * has occurred, otherwise vCPUs may complete their writes and advance in guest_code()
149 * validating *all* of guest memory sync for this stage, as vCPUs will in vcpu_worker()
205 static pthread_t *spawn_workers(struct kvm_vm *vm, struct kvm_vcpu **vcpus, in spawn_workers() argument
224 info[i].vcpu = vcpus[i]; in spawn_workers()
236 pr_info("Waiting for vCPUs to finish %s...\n", name); in rendezvous_with_vcpus()
242 pr_info("\r%d vCPUs haven't rendezvoused...", in rendezvous_with_vcpus()
249 /* Release the vCPUs after getting the time of the previous action. */ in rendezvous_with_vcpus()
250 pr_info("\rAll vCPUs finished %s, releasing...\n", name); in rendezvous_with_vcpus()
286 struct kvm_vcpu **vcpus; in main() local
309 nr_vcpus = atoi_positive("Number of vCPUs", optarg); in main()
327 vcpus = malloc(nr_vcpus * sizeof(*vcpus)); in main()
328 TEST_ASSERT(vcpus, "Failed to allocate vCPU array"); in main()
336 guest_code, vcpus); in main()
373 threads = spawn_workers(vm, vcpus, start_gpa, gpa); in main()
375 free(vcpus); in main()
376 vcpus = NULL; in main()
378 pr_info("Running with %lugb of guest memory and %u vCPUs\n", in main()
418 /* Sanity check that the vCPUs actually ran. */ in main()