kvm: assume that many ioeventfds can be created
commit5d9ec1f4c78ed25720b4fd01ddcddb00db50fa6c
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Oct 2023 12:08:22 +0000 (17 14:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Oct 2023 15:35:15 +0000 (25 17:35 +0200)
tree73ba228711927889745eb637d0e6162ec25850cb
parentd19fe67ba86f60cf7b7de9306475fe90f5ac648f
kvm: assume that many ioeventfds can be created

NR_IOBUS_DEVS was increased to 200 in Linux 2.6.34.  By Linux 3.5 it had
increased to 1000 and later ioeventfds were changed to not count against
the limit.  But the earlier limit of 200 would already be enough for
kvm_check_many_ioeventfds() to be true, so remove the check.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c
accel/stubs/kvm-stub.c
hw/virtio/virtio-pci.c
include/sysemu/kvm.h
include/sysemu/kvm_int.h