From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7PBc-0001uN-1i for qemu-devel@nongnu.org; Tue, 13 Mar 2012 06:42:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7PBV-0004E1-Jf for qemu-devel@nongnu.org; Tue, 13 Mar 2012 06:42:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7PBV-0004Dw-Bj for qemu-devel@nongnu.org; Tue, 13 Mar 2012 06:42:29 -0400 From: Amos Kong Date: Tue, 13 Mar 2012 18:42:22 +0800 Message-ID: <20120313103602.8741.71939.stgit@dhcp-8-167.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/2] virtio-pci: fix abort when fail to allocate ioeventfd List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, kvm@vger.kernel.org, mtosatti@redhat.com, qemu-devel@nongnu.org, avi@redhat.com Boot up guest with 232 virtio-blk disk, qemu will abort for fail to allocate ioeventfd. This patchset changes kvm_has_many_ioeventfds(), and check if available ioeventfd exists. If not, virtio-pci will fallback to userspace, and don't use ioeventfd for io notification. --- Amos Kong (2): return available ioeventfds count in kvm_has_many_ioeventfds() virtio-pci: fallback to userspace when there is no enough available ioeventfd hw/virtio-pci.c | 5 ++++- kvm-all.c | 9 +++------ 2 files changed, 7 insertions(+), 7 deletions(-) -- Amos Kong