Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dxive.h108 u32 xive_native_alloc_vp_block(u32 max_vcpus);
161 static inline u32 xive_native_alloc_vp_block(u32 max_vcpus) { return XIVE_INVALID_VP; } in xive_native_alloc_vp_block() argument
/OK3568_Linux_fs/kernel/arch/arm64/kvm/vgic/
H A Dvgic-init.c100 kvm->arch.max_vcpus = VGIC_V2_MAX_CPUS; in kvm_vgic_create()
102 kvm->arch.max_vcpus = VGIC_V3_MAX_CPUS; in kvm_vgic_create()
104 if (atomic_read(&kvm->online_vcpus) > kvm->arch.max_vcpus) { in kvm_vgic_create()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/
H A Ddemand_paging_test.c412 int max_vcpus = kvm_check_cap(KVM_CAP_MAX_VCPUS); in main() local
466 TEST_ASSERT(nr_vcpus > 0 && nr_vcpus <= max_vcpus, in main()
467 "Invalid number of vcpus, must be between 1 and %d", max_vcpus); in main()
/OK3568_Linux_fs/kernel/arch/powerpc/sysdev/xive/
H A Dnative.c657 u32 xive_native_alloc_vp_block(u32 max_vcpus) in xive_native_alloc_vp_block() argument
662 order = fls(max_vcpus) - 1; in xive_native_alloc_vp_block()
663 if (max_vcpus > (1 << order)) in xive_native_alloc_vp_block()
667 max_vcpus, order); in xive_native_alloc_vp_block()
/OK3568_Linux_fs/kernel/arch/arm64/kvm/
H A Darm.c149 kvm->arch.max_vcpus = kvm_arm_default_max_vcpus(); in kvm_arch_init_vm()
221 r = kvm->arch.max_vcpus; in kvm_vm_ioctl_check_extension()
300 if (id >= kvm->arch.max_vcpus) in kvm_arch_vcpu_precreate()
/OK3568_Linux_fs/kernel/arch/arm64/include/asm/
H A Dkvm_host.h111 int max_vcpus; member
/OK3568_Linux_fs/kernel/Documentation/virt/kvm/
H A Dapi.rst290 This API adds a vcpu to a virtual machine. No more than max_vcpus may be added.
293 The recommended max_vcpus value can be retrieved using the KVM_CAP_NR_VCPUS of
295 The maximum possible value for max_vcpus can be retrieved using the
298 If the KVM_CAP_NR_VCPUS does not exist, you should assume that max_vcpus is 4
300 If the KVM_CAP_MAX_VCPUS does not exist, you should assume that max_vcpus is
3657 and it must not exceed (max_vcpus + 32) * sizeof(struct kvm_s390_irq),