diff options
author | 2021-11-16 17:34:43 +0100 | |
---|---|---|
committer | 2021-11-18 02:12:15 -0500 | |
commit | 2845e7353bc334d43309f5ea6d376c8fdbc94c93 (patch) | |
tree | c3ca3af4591ae4c6a701bdc15b103dfb1f9f4e11 /net/unix/af_unix.c | |
parent | KVM: s390: Cap KVM_CAP_NR_VCPUS by num_online_cpus() (diff) | |
download | wireguard-linux-2845e7353bc334d43309f5ea6d376c8fdbc94c93.tar.xz wireguard-linux-2845e7353bc334d43309f5ea6d376c8fdbc94c93.zip |
KVM: x86: Cap KVM_CAP_NR_VCPUS by KVM_CAP_MAX_VCPUS
It doesn't make sense to return the recommended maximum number of
vCPUs which exceeds the maximum possible number of vCPUs.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20211116163443.88707-7-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions