From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf5VT-0000pr-Rd for qemu-devel@nongnu.org; Wed, 22 May 2013 05:38:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uf5VS-00067G-JL for qemu-devel@nongnu.org; Wed, 22 May 2013 05:38:51 -0400 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:60448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf5VS-000677-Do for qemu-devel@nongnu.org; Wed, 22 May 2013 05:38:50 -0400 Received: by mail-wg0-f41.google.com with SMTP id c11so2369803wgh.0 for ; Wed, 22 May 2013 02:38:49 -0700 (PDT) Date: Wed, 22 May 2013 11:32:27 +0200 From: Stefan Hajnoczi Message-ID: <20130522093227.GB30148@stefanha-thinkpad.redhat.com> References: <1369198655-25156-1-git-send-email-akong@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1369198655-25156-1-git-send-email-akong@redhat.com> Subject: Re: [Qemu-devel] [PATCH] kvm: add detail error message when fail to add ioeventfd List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amos Kong Cc: kvm@vger.kernel.org, gleb@redhat.com, qemu-devel@nongnu.org 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 > --- > 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. Reviewed-by: Stefan Hajnoczi