Lines Matching full:vcpus
56 struct kvm_vcpu *vcpus[KVM_MAX_VCPUS]; member
107 * Before dirty logging, vCPUs concurrently access the first in guest_code()
162 * After dirty logging is stopped, vCPUs concurrently read in guest_code()
256 guest_code, test_args.vcpus); in pre_init_before_test()
311 pr_info("Number of testing vCPUs: %d\n", nr_vcpus); in pre_init_before_test()
319 int vcpus; in vcpus_complete_new_stage() local
321 /* Wake up all the vcpus to run new test stage */ in vcpus_complete_new_stage()
322 for (vcpus = 0; vcpus < nr_vcpus; vcpus++) { in vcpus_complete_new_stage()
326 pr_debug("All vcpus have been notified to continue\n"); in vcpus_complete_new_stage()
328 /* Wait for all the vcpus to complete new test stage */ in vcpus_complete_new_stage()
329 for (vcpus = 0; vcpus < nr_vcpus; vcpus++) { in vcpus_complete_new_stage()
333 pr_debug("%d vcpus have completed stage %s\n", in vcpus_complete_new_stage()
334 vcpus + 1, test_stage_string[stage]); in vcpus_complete_new_stage()
337 pr_debug("All vcpus have completed stage %s\n", in vcpus_complete_new_stage()
349 /* Create VM with vCPUs and make some pre-initialization */ in run_test()
360 test_args.vcpus[i]); in run_test()
363 pr_info("Started all vCPUs successfully\n"); in run_test()
424 "[-b mem-size] [-v vcpus] [-s mem-type]\n", name); in help()
431 printf(" -v: specify the number of vCPUs to run\n" in help()
460 nr_vcpus = atoi_positive("Number of vCPUs", optarg); in main()
462 "Invalid number of vcpus, must be between 1 and %d", max_vcpus); in main()