Received: from eggs.gnu.org ([2001:4830:134:3::10]:46837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyK5B-0006C4-05 for qemu-devel@nongnu.org; Fri, 29 May 2015 09:12:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyK57-0004GA-F4 for qemu-devel@nongnu.org; Fri, 29 May 2015 09:12:16 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:36140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyK57-0004G0-8r for qemu-devel@nongnu.org; Fri, 29 May 2015 09:12:13 -0400 Received: by wivl4 with SMTP id l4so16998768wiv.1 for ; Fri, 29 May 2015 06:12:12 -0700 (PDT) Date: Fri, 29 May 2015 14:12:09 +0100 From: Stefan Hajnoczi Message-ID: <20150529131209.GJ8598@stefanha-thinkpad.redhat.com> References: <1432800194-1192-1-git-send-email-thibaut.collet@6wind.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LG0Ll82vYr46+VA1" Content-Disposition: inline In-Reply-To: <1432800194-1192-1-git-send-email-thibaut.collet@6wind.com> Subject: Re: [Qemu-devel] [PATCH 1/1] net: fix queue's purge on VM stop List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thibaut Collet Cc: jasowang@redhat.com, qemu-devel@nongnu.org, v.maffione@gmail.com, stefanha@redhat.com, g.lettieri@iet.unipi.it, rizzo@iet.unipi.it --LG0Ll82vYr46+VA1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 28, 2015 at 10:03:14AM +0200, Thibaut Collet wrote: > For netdev backend with no receive callback, packets must not be enqueued. When > VM stops the enqueued packets are purged (see fixes ca77d85e1dbf). That causes a > qemu segfault due to a call of a NULL pointer function. virtio-net NIC <-> vhost-user should bypass the QEMU net subsystem since rx/tx virtqueues are handled outside the QEMU process. Who is enqueuing packets on vhost-user's incoming_queue? --LG0Ll82vYr46+VA1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVaGWpAAoJEJykq7OBq3PI3isIAIUrbi0TmGUw98uvs6PV0z3I Q9UQcDbWf/ycdt/R7dA6JlUUNMJQZztkCEoJNF4SEEBBYr74PCQEbflsJ1dlha/3 tijjHGuLfkPtKDk3b91nr8nC2QtQJcD2dq3sqIOHkj0jSdcLxhQMFAvNprqyBWiB hpPQdeFUoZMrajWE9+PUMPOnlZAnO63hD96ueqaf5fpt0HasFe+ZkTRw1BYfyOqX wpADPTYC7M5VK7DXn6cDF7dJhg9L4RY8Z01BerJOBuhgSGBlCHJkYWyVwMwVWJO8 3HJE0Yt/21Xv4PRVZmF3+sqI0oaVxzY0xSfybWiGXsYU8lUQqJumqU++8Ro2uzI= =xDay -----END PGP SIGNATURE----- --LG0Ll82vYr46+VA1--