Searched refs:max_vcpu (Results 1 – 3 of 3) sorted by relevance
191 int max_vcpu = DEFAULT_NUM_VCPU; in main() local200 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()[all …]
62 if (vcpu >= event->max_vcpu) \722 for (i = 0; i < event->max_vcpu; ++i) { in clear_events_cache_stats()732 int old_max_vcpu = event->max_vcpu; in kvm_event_expand()735 if (vcpu_id < event->max_vcpu) in kvm_event_expand()738 while (event->max_vcpu <= vcpu_id) in kvm_event_expand()739 event->max_vcpu += DEFAULT_VCPU_NUM; in kvm_event_expand()743 event->max_vcpu * sizeof(*event->vcpu)); in kvm_event_expand()751 (event->max_vcpu - old_max_vcpu) * sizeof(*event->vcpu)); in kvm_event_expand()
50 int max_vcpu; member