Re: [Qemu-devel] [PATCH] kvm: exclude ioeventfd from counting kvm_io_range limit

2013-06-04 Thread Gleb Natapov
On Sat, May 25, 2013 at 06:44:15AM +0800, Amos Kong wrote: > We can easily reach the 1000 limit by start VM with a couple > hundred I/O devices (multifunction=on). The hardcode limit > already been adjusted 3 times (6 ~ 200 ~ 300 ~ 1000). > > In userspace, we already have maximum file descriptor t

Re: [Qemu-devel] [PATCH] kvm: exclude ioeventfd from counting kvm_io_range limit

2013-05-27 Thread Stefan Hajnoczi
On Sat, May 25, 2013 at 06:44:15AM +0800, Amos Kong wrote: > We can easily reach the 1000 limit by start VM with a couple > hundred I/O devices (multifunction=on). The hardcode limit > already been adjusted 3 times (6 ~ 200 ~ 300 ~ 1000). > > In userspace, we already have maximum file descriptor t

[Qemu-devel] [PATCH] kvm: exclude ioeventfd from counting kvm_io_range limit

2013-05-24 Thread Amos Kong
We can easily reach the 1000 limit by start VM with a couple hundred I/O devices (multifunction=on). The hardcode limit already been adjusted 3 times (6 ~ 200 ~ 300 ~ 1000). In userspace, we already have maximum file descriptor to limit ioeventfd count. But kvm_io_bus devices also are used for pit