From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60744 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnDXN-0002z6-UU for qemu-devel@nongnu.org; Wed, 09 Feb 2011 12:09:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnDXM-000622-6P for qemu-devel@nongnu.org; Wed, 09 Feb 2011 12:09:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:27209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnDXL-00061m-Lt for qemu-devel@nongnu.org; Wed, 09 Feb 2011 12:09:03 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p19H92dw006792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 9 Feb 2011 12:09:02 -0500 From: Alex Williamson In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Wed, 09 Feb 2011 10:09:00 -0700 Message-ID: <1297271340.26023.110.camel@x201> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCHv3 0/2] vhost: fix tap link down List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: jasowang@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com, Amit Shah , lcapitulino@redhat.com, glommer@redhat.com On Wed, 2011-02-09 at 18:44 +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 Acked-by: Alex Williamson