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 /include/sysemu/kvm_int.h | |
| parent | d19fe67ba86f60cf7b7de9306475fe90f5ac648f (diff) | |
| download | focaccia-qemu-5d9ec1f4c78ed25720b4fd01ddcddb00db50fa6c.tar.gz focaccia-qemu-5d9ec1f4c78ed25720b4fd01ddcddb00db50fa6c.zip | |
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 'include/sysemu/kvm_int.h')
| -rw-r--r-- | include/sysemu/kvm_int.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sysemu/kvm_int.h b/include/sysemu/kvm_int.h index 817238b958..840b905a2e 100644 --- a/include/sysemu/kvm_int.h +++ b/include/sysemu/kvm_int.h @@ -84,7 +84,6 @@ struct KVMState QTAILQ_HEAD(, kvm_sw_breakpoint) kvm_sw_breakpoints; #endif int max_nested_state_len; - int many_ioeventfds; int kvm_shadow_mem; bool kernel_irqchip_allowed; bool kernel_irqchip_required; |