Received: from eggs.gnu.org ([2001:4830:134:3::10]:46076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhgVV-0008Ll-9Z for qemu-devel@nongnu.org; Wed, 07 Sep 2016 13:19:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhgVS-0002t7-0u for qemu-devel@nongnu.org; Wed, 07 Sep 2016 13:19:29 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:43443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhgVR-0002sx-P8 for qemu-devel@nongnu.org; Wed, 07 Sep 2016 13:19:25 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u87HI5w1010127 for ; Wed, 7 Sep 2016 13:19:24 -0400 Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.150]) by mx0a-001b2d01.pphosted.com with ESMTP id 25a57maux5-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 07 Sep 2016 13:19:24 -0400 Received: from localhost by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 7 Sep 2016 11:19:23 -0600 From: Greg Kurz Date: Wed, 07 Sep 2016 19:19:17 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <147326875705.8546.11347276277137015855.stgit@bahia.lan> Subject: [Qemu-devel] [PATCH 0/2] virtio: error report fixes in 9P and PCI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, "Aneesh Kumar K.V" , Greg Kurz This series brings error reporting to virtio 9P in case a malformed element is returned by virtqueue_pop(). While here, I also re-post a patch for virtio PCI that fell through the cracks and missed the 2.7 merge window. --- Greg Kurz (2): virtio-9p: print error message and exit instead of BUG_ON() virtio-pci: error out when both legacy and modern modes are disabled hw/9pfs/virtio-9p-device.c | 20 ++++++++++++++++++-- hw/virtio/virtio-pci.c | 8 ++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) -- Greg