diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-10-17 14:08:22 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-10-25 17:35:15 +0200 |
commit | 5d9ec1f4c78ed25720b4fd01ddcddb00db50fa6c (patch) | |
tree | 73ba228711927889745eb637d0e6162ec25850cb /accel/stubs | |
parent | d19fe67ba86f60cf7b7de9306475fe90f5ac648f (diff) |
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>
Diffstat (limited to 'accel/stubs')
-rw-r--r-- | accel/stubs/kvm-stub.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c index 19d58f2778..b2d8885853 100644 --- a/accel/stubs/kvm-stub.c +++ b/accel/stubs/kvm-stub.c @@ -40,11 +40,6 @@ bool kvm_has_sync_mmu(void) return false; } -int kvm_has_many_ioeventfds(void) -{ - return 0; -} - int kvm_on_sigbus_vcpu(CPUState *cpu, int code, void *addr) { return 1; |