Home
last modified time | relevance | path

Searched refs:nr_runnable_vcpus (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dkvm_util.c371 uint32_t nr_runnable_vcpus, in vm_nr_pages_required() argument
377 TEST_ASSERT(nr_runnable_vcpus, in vm_nr_pages_required()
380 TEST_ASSERT(nr_runnable_vcpus <= kvm_check_cap(KVM_CAP_MAX_VCPUS), in vm_nr_pages_required()
382 nr_runnable_vcpus, kvm_check_cap(KVM_CAP_MAX_VCPUS)); in vm_nr_pages_required()
391 nr_pages += nr_runnable_vcpus * DEFAULT_STACK_PGS; in vm_nr_pages_required()
409 struct kvm_vm *__vm_create(struct vm_shape shape, uint32_t nr_runnable_vcpus, in __vm_create() argument
412 uint64_t nr_pages = vm_nr_pages_required(shape.mode, nr_runnable_vcpus, in __vm_create()
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dkvm_util.h892 struct kvm_vm *__vm_create(struct vm_shape shape, uint32_t nr_runnable_vcpus,
910 static inline struct kvm_vm *vm_create(uint32_t nr_runnable_vcpus) in vm_create() argument
912 return __vm_create(VM_SHAPE_DEFAULT, nr_runnable_vcpus, 0); in vm_create()