From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Fedin Subject: Re: [PATCH 0/4 for 2.3] vhost-user live migration support Date: Tue, 15 Dec 2015 12:04:38 +0300 Message-ID: <008601d13717$a0f2feb0$e2d8fc10$@samsung.com> References: <000001d133ed$b2446eb0$16cd4c10$@samsung.com> <20151211094934.GX29571@yliu-dev.sh.intel.com> <001c01d133fd$d3a7d870$7af78950$@samsung.com> <20151214035842.GB18437@pxdev.xzpeter.org> <20151215082324.GG29571@yliu-dev.sh.intel.com> <007f01d13715$042a0a80$0c7e1f80$@samsung.com> <20151215085643.GH29571@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: 'Yuanhan Liu' , 'Thibaut Collet' Return-path: Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by dpdk.org (Postfix) with ESMTP id 589EDB62 for ; Tue, 15 Dec 2015 10:04:41 +0100 (CET) Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NZE003TY6JR3B40@mailout1.w1.samsung.com> for dev@dpdk.org; Tue, 15 Dec 2015 09:04:39 +0000 (GMT) In-reply-to: <20151215085643.GH29571@yliu-dev.sh.intel.com> Content-language: ru List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello! > Note quite sure. I found Thibaut submitted a patch to send > VHOST_USER_SEND_RARP request after migration is done months > ago. Thibaut, would you please elaborate it a bit more what > should be done on vhost-user backend? To construct a gratuitous > ARP request and broadcast it? By the way, some more info for you all. 1. I've just examined qemu_announce_self() and i see that IPs are all set to 0 in the packet it generates. It's quite logical because qemu has no idea what address is used by the guest, even more, theoretically it could be not IPv4 at all. But then - how can it work at all, and what's the use for this packet? 2. I tried to work around if by adding VIRTIO_NET_F_GUEST_ANNOUNCE. I expected that the guest will see it and make announcement by itself. But result was quite the opposite - PING stopped working at all, right from the beginning, even without migration. Can local qemu/DPDK/etc gurus give some explanation? Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia