Searched refs:nr_runnable_vcpus (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 298 uint32_t nr_runnable_vcpus, in vm_nr_pages_required() argument 303 TEST_ASSERT(nr_runnable_vcpus, in vm_nr_pages_required() 306 TEST_ASSERT(nr_runnable_vcpus <= kvm_check_cap(KVM_CAP_MAX_VCPUS), in vm_nr_pages_required() 308 nr_runnable_vcpus, kvm_check_cap(KVM_CAP_MAX_VCPUS)); in vm_nr_pages_required() 317 nr_pages += nr_runnable_vcpus * DEFAULT_STACK_PGS; in vm_nr_pages_required() 332 struct kvm_vm *__vm_create(enum vm_guest_mode mode, uint32_t nr_runnable_vcpus, in __vm_create() argument 335 uint64_t nr_pages = vm_nr_pages_required(mode, nr_runnable_vcpus, in __vm_create()
|
/linux-6.1.9/tools/testing/selftests/kvm/include/ |
D | kvm_util_base.h | 650 struct kvm_vm *__vm_create(enum vm_guest_mode mode, uint32_t nr_runnable_vcpus, 658 static inline struct kvm_vm *vm_create(uint32_t nr_runnable_vcpus) in vm_create() argument 660 return __vm_create(VM_MODE_DEFAULT, nr_runnable_vcpus, 0); in vm_create()
|