From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boYj5-0007xz-2e for qemu-devel@nongnu.org; Mon, 26 Sep 2016 12:25:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boYj1-0003UB-AU for qemu-devel@nongnu.org; Mon, 26 Sep 2016 12:25:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boYj1-0003U7-4F for qemu-devel@nongnu.org; Mon, 26 Sep 2016 12:25:51 -0400 Date: Mon, 26 Sep 2016 17:25:48 +0100 From: Stefan Hajnoczi Message-ID: <20160926162548.GD25705@stefanha-x1.localdomain> References: <147487882735.6679.8076815106195077844.stgit@bahia> <147487887245.6679.16815990471966664075.stgit@bahia> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VV4b6MQE+OnNyhkM" Content-Disposition: inline In-Reply-To: <147487887245.6679.16815990471966664075.stgit@bahia> Subject: Re: [Qemu-devel] [PATCH v3 5/9] virtio-net: handle virtio_net_handle_ctrl() error 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" , Cornelia Huck , Paolo Bonzini --VV4b6MQE+OnNyhkM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 26, 2016 at 10:34:32AM +0200, Greg Kurz wrote: > This error is caused by a buggy guest: let's switch the device to the > broken state instead of terminating QEMU. Also we detach the element > from the virtqueue and free it. >=20 > Signed-off-by: Greg Kurz > --- > v3: - detach and free element > - updated changelog > --- > hw/net/virtio-net.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) Reviewed-by: Stefan Hajnoczi --VV4b6MQE+OnNyhkM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJX6UwMAAoJEJykq7OBq3PI8CwH/1nCCbwjsbvciFB9eKDF6S3D sMMWJb0u8bRdvkZezpQXchFIauqQp/GzheRY829hIRH2iJ6E4f1ycmwi2LOP+Cz/ PgZYzn07t3q1jPjTRdZ05OUal1/kY7XCPqTNR/Q0wmF6OsTcSE/92Xii3I35XQ7d PY4ow/6TDVpnAUdhgNjvMGFRZAHQuS2FC9bCTysr1XV5pSm/WLhLpqzbonUe8c0U MwRrG1cDwEjTsCBPvJvQKlMuxJv7waEftV0IvmPvT7YtLWE+Qiai8/mB+p/Sbu0N Grt4gKZYllT862w99Z84CaGIJhrcyXVQC2NdFQGNbIZg38rwsWp8YwYtDbwbafk= =1qtB -----END PGP SIGNATURE----- --VV4b6MQE+OnNyhkM--