From: Stefan Hajnoczi Subject: Re: [PATCH] kvm: add detail error message when fail to add ioeventfd Date: Wed, 22 May 2013 11:32:27 +0200 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 Cc: gleb@redhat.com, kvm@vger.kernel.org, qemu-devel@nongnu.org To: Amos Kong Return-path: Received: from mail-we0-f178.google.com ([74.125.82.178]:43852 "EHLO mail-we0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752324Ab3EVJcd (ORCPT ); Wed, 22 May 2013 05:32:33 -0400 Received: by mail-we0-f178.google.com with SMTP id q56so962683wes.37 for ; Wed, 22 May 2013 02:32:32 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1369198655-25156-1-git-send-email-akong@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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