[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] kvm: add detail error message when fail to add
From: |
Amos Kong |
Subject: |
Re: [Qemu-devel] [PATCH] kvm: add detail error message when fail to add ioeventfd |
Date: |
Wed, 22 May 2013 21:48:21 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, May 22, 2013 at 11:32:27AM +0200, Stefan Hajnoczi wrote:
> On Wed, May 22, 2013 at 12:57:35PM +0800, Amos Kong wrote:
> > I try to hotplug 28 * 8 multiple-function devices to guest with
> > old host kernel, ioeventfds in host kernel will be exhausted, then
> > qemu fails to allocate ioeventfds for blk/nic devices.
> >
> > It's better to add detail error here.
> >
> > Signed-off-by: Amos Kong <address@hidden>
> > ---
> > kvm-all.c | 4 ++++
> > 1 files changed, 4 insertions(+), 0 deletions(-)
>
> It would be nice to make kvm bus scalable so that the hardcoded
> in-kernel I/O device limit can be lifted.
I had increased kernel NR_IOBUS_DEVS to 1000 (a limitation is needed for
security) in last Mar, and make resizing kvm_io_range array dynamical.
> Reviewed-by: Stefan Hajnoczi <address@hidden>
--
Amos.