Lines Matching defs:vcpus
275 INIT_LIST_HEAD(&vm->vcpus);
381 "nr_vcpus = %d too large for host, max-vcpus = %d",
471 void *guest_code, struct kvm_vcpu *vcpus[])
476 TEST_ASSERT(!nr_vcpus || vcpus, "Must provide vCPU array");
481 vcpus[i] = vm_vcpu_add(vm, i, guest_code);
491 struct kvm_vcpu *vcpus[1];
494 vm = __vm_create_with_vcpus(shape, 1, extra_mem_pages, guest_code, vcpus);
496 *vcpu = vcpus[0];
601 /* 1. Get all pcpus for vcpus. */
704 list_for_each_entry_safe(vcpu, tmp, &vmp->vcpus, list)
1253 list_for_each_entry(vcpu, &vm->vcpus, list) {
1290 list_add(&vcpu->list, &vm->vcpus);
1911 list_for_each_entry(vcpu, &vm->vcpus, list)