Home
last modified time | relevance | path

Searched refs:max_vcpus (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/arch/powerpc/include/asm/
Dxive.h98 extern u32 xive_native_alloc_vp_block(u32 max_vcpus);
132 static inline u32 xive_native_alloc_vp_block(u32 max_vcpus) { return XIVE_INVALID_VP; } in xive_native_alloc_vp_block() argument
/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-init.c117 kvm->arch.max_vcpus = VGIC_V2_MAX_CPUS; in kvm_vgic_create()
119 kvm->arch.max_vcpus = VGIC_V3_MAX_CPUS; in kvm_vgic_create()
121 if (atomic_read(&kvm->online_vcpus) > kvm->arch.max_vcpus) { in kvm_vgic_create()
/Linux-v4.19/arch/powerpc/sysdev/xive/
Dnative.c624 u32 xive_native_alloc_vp_block(u32 max_vcpus) in xive_native_alloc_vp_block() argument
629 order = fls(max_vcpus) - 1; in xive_native_alloc_vp_block()
630 if (max_vcpus > (1 << order)) in xive_native_alloc_vp_block()
634 max_vcpus, order); in xive_native_alloc_vp_block()
/Linux-v4.19/arch/arm/include/asm/
Dkvm_host.h80 int max_vcpus; member
/Linux-v4.19/arch/arm64/include/asm/
Dkvm_host.h74 int max_vcpus; member
/Linux-v4.19/virt/kvm/arm/
Darm.c147 kvm->arch.max_vcpus = vgic_present ? in kvm_arch_init_vm()
281 if (id >= kvm->arch.max_vcpus) { in kvm_arch_vcpu_create()
/Linux-v4.19/Documentation/virtual/kvm/
Dapi.txt211 This API adds a vcpu to a virtual machine. No more than max_vcpus may be added.
214 The recommended max_vcpus value can be retrieved using the KVM_CAP_NR_VCPUS of
216 The maximum possible value for max_vcpus can be retrieved using the
219 If the KVM_CAP_NR_VCPUS does not exist, you should assume that max_vcpus is 4
221 If the KVM_CAP_MAX_VCPUS does not exist, you should assume that max_vcpus is
3042 and it must not exceed (max_vcpus + 32) * sizeof(struct kvm_s390_irq),