From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=45390 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3U4L-00077D-6N for qemu-devel@nongnu.org; Wed, 06 Oct 2010 09:30:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3U0i-0002Ee-61 for qemu-devel@nongnu.org; Wed, 06 Oct 2010 09:26:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3U0h-0002EQ-Vt for qemu-devel@nongnu.org; Wed, 06 Oct 2010 09:26:20 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o96DQHPj009444 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 6 Oct 2010 09:26:18 -0400 Date: Wed, 6 Oct 2010 15:20:12 +0200 From: "Michael S. Tsirkin" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH 0/3] qemu-kvm/vhost: fix qemu assert triggerable by guest List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, avi@redhat.com, mtosatti@redhat.com, Alex Williamson , Juan Quintela , Amit Shah When guest maps a vector to multiple vqs, qemu kvm triggers an assert. A simple way to test this is by supplying vectors=2 for virtio-net-pci in qemu-kvm. The first 2 patches apply to qemu.git. The 3d does not, it has to be applied only to qemu-kvm.git. Avi, marcelo, I think to prevent bisect errors, the best way to apply this would be to wait for 1st two ones to get applied on qemu.git, then apply all three on qemu-kvm.git and then merge. Michael S. Tsirkin (3): virtio: change set guest notifier to per-device vhost: error code vhost: fix up irqfd support hw/msix.c | 68 +++++++++++++++++++++++++++++++-------------- hw/msix.h | 4 +- hw/pci.h | 3 +- hw/vhost.c | 54 ++++++++++++++++++++---------------- hw/virtio-pci.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++++------ hw/virtio.h | 2 +- 6 files changed, 154 insertions(+), 60 deletions(-) -- 1.7.3-rc1