Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/
Dkvm_create_max_vcpus.c42 int kvm_max_vcpu_id = kvm_check_cap(KVM_CAP_MAX_VCPU_ID); in main() local
51 pr_info("KVM_CAP_MAX_VCPU_ID: %d\n", kvm_max_vcpu_id); in main()
82 if (!kvm_max_vcpu_id) in main()
83 kvm_max_vcpu_id = kvm_max_vcpus; in main()
85 TEST_ASSERT(kvm_max_vcpu_id >= kvm_max_vcpus, in main()
87 kvm_max_vcpu_id, kvm_max_vcpus); in main()
91 if (kvm_max_vcpu_id > kvm_max_vcpus) in main()
93 kvm_max_vcpu_id - kvm_max_vcpus, kvm_max_vcpus); in main()