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 18:36:43 +0300 Message-ID: <00f501d1374e$670eb950$352c2bf0$@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> <20151215100548.GD32243@pxdev.xzpeter.org> <20151215131812.GI29571@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, 'Victor Kaplansky' To: 'Thibaut Collet' , 'Yuanhan Liu' Return-path: Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id 8CEDEE62 for ; Tue, 15 Dec 2015 16:36:46 +0100 (CET) Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NZE0063POP9S020@mailout2.w1.samsung.com> for dev@dpdk.org; Tue, 15 Dec 2015 15:36:45 +0000 (GMT) In-reply-to: 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! =20 > After a migration, to avoid netwotk outage, all interfaces of the = guest must send a packet to update switches mapping (ideally a GARP). > As some interfaces do not do it QEMU does it in behalf of the guest by = sending a RARP (his RARP is not forged by the guest but by QEMU). This = is the > qemu_self_announce purpose that "spoofs" a RARP to all backend of = guest ethernet interfaces. For vhost-user backend, QEMU can not do it = directly Aha, see it now. qemu_announce_self() uses qemu_foreach_nic(), which = actually iterates only over NET_CLIENT_OPTIONS_KIND_NIC interfaces. I = expect these are fully emulated hardware controllers. virtio uses = another type (see enum NetClientOptionsKind). So, we can happily ignore qemu_announce_self(), it does not do anything = for us. Thanks for pointing it out. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia