Searched refs:kvm_max_vcpus (Results 1 – 2 of 2) sorted by relevance
43 int kvm_max_vcpus = kvm_check_cap(KVM_CAP_MAX_VCPUS); in main() local48 int nr_fds_wanted = kvm_max_vcpus + 100; in main()52 pr_info("KVM_CAP_MAX_VCPUS: %d\n", kvm_max_vcpus); in main()81 kvm_max_vcpu_id = kvm_max_vcpus; in main()83 TEST_ASSERT(kvm_max_vcpu_id >= kvm_max_vcpus, in main()85 kvm_max_vcpu_id, kvm_max_vcpus); in main()87 test_vcpu_creation(0, kvm_max_vcpus); in main()89 if (kvm_max_vcpu_id > kvm_max_vcpus) in main()91 kvm_max_vcpu_id - kvm_max_vcpus, kvm_max_vcpus); in main()
2413 static int kvm_max_vcpus(KVMState *s) in kvm_max_vcpus() function2422 return (ret) ? ret : kvm_max_vcpus(s); in kvm_max_vcpu_id()2577 hard_vcpus_limit = kvm_max_vcpus(s); in kvm_init()