Lines Matching refs:max_vcpu
191 int max_vcpu = DEFAULT_NUM_VCPU; in main() local
200 max_vcpu = strtol(argv[2], NULL, 0); in main()
201 if (max_vcpu <= 0) in main()
202 max_vcpu = DEFAULT_NUM_VCPU; in main()
216 vcpus = malloc(sizeof(struct kvm_vcpu *) * max_vm * max_vcpu); in main()
228 for (j = 0; j < max_vcpu; ++j) in main()
229 vcpus[i * max_vcpu + j] = __vm_vcpu_add(vms[i], j); in main()
247 for (j = 0; j < max_vcpu; ++j) { in main()
248 vcpu_stats_fds[j] = vcpu_get_stats_fd(vcpus[i * max_vcpu + j]); in main()
250 stats_test(vcpu_get_stats_fd(vcpus[i * max_vcpu + j])); in main()
262 for (j = 0; j < max_vcpu; ++j) in main()