Searched refs:max_vcpus (Results 1 – 7 of 7) sorted by relevance
106 extern u32 xive_native_alloc_vp_block(u32 max_vcpus);155 static inline u32 xive_native_alloc_vp_block(u32 max_vcpus) { return XIVE_INVALID_VP; } in xive_native_alloc_vp_block() argument
108 kvm->arch.max_vcpus = VGIC_V2_MAX_CPUS; in kvm_vgic_create()110 kvm->arch.max_vcpus = VGIC_V3_MAX_CPUS; in kvm_vgic_create()112 if (atomic_read(&kvm->online_vcpus) > kvm->arch.max_vcpus) { in kvm_vgic_create()
654 u32 xive_native_alloc_vp_block(u32 max_vcpus) in xive_native_alloc_vp_block() argument659 order = fls(max_vcpus) - 1; in xive_native_alloc_vp_block()660 if (max_vcpus > (1 << order)) in xive_native_alloc_vp_block()664 max_vcpus, order); in xive_native_alloc_vp_block()
75 int max_vcpus; member
79 int max_vcpus; member
135 kvm->arch.max_vcpus = vgic_present ? in kvm_arch_init_vm()266 if (id >= kvm->arch.max_vcpus) { in kvm_arch_vcpu_create()
266 This API adds a vcpu to a virtual machine. No more than max_vcpus may be added.269 The recommended max_vcpus value can be retrieved using the KVM_CAP_NR_VCPUS of271 The maximum possible value for max_vcpus can be retrieved using the274 If the KVM_CAP_NR_VCPUS does not exist, you should assume that max_vcpus is 4276 If the KVM_CAP_MAX_VCPUS does not exist, you should assume that max_vcpus is3287 and it must not exceed (max_vcpus + 32) * sizeof(struct kvm_s390_irq),