From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55041 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrClH-0008Mz-2F for qemu-devel@nongnu.org; Sun, 20 Feb 2011 12:07:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrClC-0003Up-6j for qemu-devel@nongnu.org; Sun, 20 Feb 2011 12:07:51 -0500 Received: from hall.aurel32.net ([88.191.126.93]:54063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrClB-0003Ue-W5 for qemu-devel@nongnu.org; Sun, 20 Feb 2011 12:07:50 -0500 Date: Sun, 20 Feb 2011 18:07:44 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCHv3 0/2] vhost: fix tap link down Message-ID: <20110220170744.GM18619@volta.aurel32.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, jasowang@redhat.com, armbru@redhat.com, lcapitulino@redhat.com, alex.williamson@redhat.com, Amit Shah , glommer@redhat.com On Wed, Feb 09, 2011 at 06:44:59PM +0200, Michael S. Tsirkin wrote: > qemu makes it possible to disable link at tap > which is not communicated to the guest but > causes all packets to be dropped. > > With vhost-net at the moment it just keeps going. > Fix by communicating to virtio net and have that > stop vhost-net. > > Signed-off-by: Michael S. Tsirkin > Reported-by: pradeep > > Changes from v2: > comment tweaked > split to two patches > > Changes from v1: > fix link down after guest link is up > > > > Michael S. Tsirkin (2): > net: notify peer about link status change > vhost: disable on tap link down > > hw/virtio-net.c | 3 ++- > net.c | 11 +++++++++++ > 2 files changed, 13 insertions(+), 1 deletions(-) > Thanks, both applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net