Received: from eggs.gnu.org ([2001:4830:134:3::10]:56113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmifN-0007GM-MK for qemu-devel@nongnu.org; Wed, 21 Sep 2016 10:38:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmifJ-00022O-HH for qemu-devel@nongnu.org; Wed, 21 Sep 2016 10:38:28 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:57949 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmifJ-000229-Bg for qemu-devel@nongnu.org; Wed, 21 Sep 2016 10:38:25 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u8LEaEID051578 for ; Wed, 21 Sep 2016 10:38:25 -0400 Received: from e06smtp06.uk.ibm.com (e06smtp06.uk.ibm.com [195.75.94.102]) by mx0b-001b2d01.pphosted.com with ESMTP id 25kh284jb2-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 21 Sep 2016 10:38:24 -0400 Received: from localhost by e06smtp06.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 21 Sep 2016 15:38:23 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 9ADC41B0804B for ; Wed, 21 Sep 2016 15:40:12 +0100 (BST) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u8LEcK2X7340502 for ; Wed, 21 Sep 2016 14:38:20 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u8LEcK8b022411 for ; Wed, 21 Sep 2016 08:38:20 -0600 Date: Wed, 21 Sep 2016 16:38:18 +0200 From: Cornelia Huck In-Reply-To: <147446366580.4880.14704542419369215146.stgit@bahia> References: <147446363181.4880.18104448248886932114.stgit@bahia> <147446366580.4880.14704542419369215146.stgit@bahia> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20160921163818.16de164c.cornelia.huck@de.ibm.com> Subject: Re: [Qemu-devel] [PATCH 4/7] virtio-net: handle virtio_net_receive() errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Kurz Cc: qemu-devel@nongnu.org, Kevin Wolf , "Michael S. Tsirkin" , Jason Wang , Max Reitz , "Aneesh Kumar K.V" , Stefan Hajnoczi , Paolo Bonzini On Wed, 21 Sep 2016 15:14:25 +0200 Greg Kurz wrote: > All these errors are caused by a buggy guest: let's switch the device to > the broken state instead of terminating QEMU. > > Signed-off-by: Greg Kurz > --- > hw/net/virtio-net.c | 25 +++++++++++++------------ > 1 file changed, 13 insertions(+), 12 deletions(-) Reviewed-by: Cornelia Huck