From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z05Bk-00019R-7r for qemu-devel@nongnu.org; Wed, 03 Jun 2015 05:42:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z05Bf-0006BK-Ec for qemu-devel@nongnu.org; Wed, 03 Jun 2015 05:42:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z05Bf-0006BC-8p for qemu-devel@nongnu.org; Wed, 03 Jun 2015 05:42:15 -0400 Message-ID: <556ECBF1.8020702@redhat.com> Date: Wed, 03 Jun 2015 17:42:09 +0800 From: Jason Wang MIME-Version: 1.0 References: <1432800194-1192-1-git-send-email-thibaut.collet@6wind.com> <20150529131209.GJ8598@stefanha-thinkpad.redhat.com> <20150602103429.GF23987@stefanha-thinkpad.redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 , Stefan Hajnoczi Cc: Stefan Hajnoczi , Giuseppe Lettieri , Luigi Rizzo , qemu-devel@nongnu.org, Vincenzo Maffione On 06/03/2015 03:56 PM, Thibaut Collet wrote: > Hi, > > thanks for your point, I did not notice the problem of the lost of ARP > announce by discarding the message. > So I must rewrite my patch to define a queue to transmit the ARP > announce to the guest. Is it the proper solution? > Please have a look at VIRTIO_NET_F_GUEST_ANNOUNCE. It can notify guest after migration to let it to send arp announce. Recent linux driver has this support. > Thanks. > > Best regards. > > Thibaut. > > On Tue, Jun 2, 2015 at 12:34 PM, Stefan Hajnoczi > wrote: > > On Fri, May 29, 2015 at 04:28:48PM +0200, Thibaut Collet wrote: > > I agree that virtio-net NIC never enqueues packet to vhost-user > > but qemu_announce_self function (savevm.c file) can do it through > > the qemu_announce_self_iter / qemu_send_packet_raw sequence. > > Does vhost-user support live migration? > > If no, then qemu_announce_self is never called. > > If yes, then the packet should not be discarded since the ARP announce > has a purpose. > > Stefan > >