Searched refs:nr_runnable_vcpus (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 371 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/ |
D | kvm_util.h | 892 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()
|