Received: from eggs.gnu.org ([2001:4830:134:3::10]:47579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7Hw9-0006eq-Mv for qemu-devel@nongnu.org; Fri, 11 Dec 2015 02:16:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7Hw6-0002Zt-HO for qemu-devel@nongnu.org; Fri, 11 Dec 2015 02:16:17 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:23251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7Hw6-0002Xr-BB for qemu-devel@nongnu.org; Fri, 11 Dec 2015 02:16:14 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NZ600HFUMUX8H70@mailout3.w1.samsung.com> for qemu-devel@nongnu.org; Fri, 11 Dec 2015 07:16:09 +0000 (GMT) Received: from fedinw7x64 ([106.109.131.169]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NZ600FWWMUW1780@eusync4.samsung.com> for qemu-devel@nongnu.org; Fri, 11 Dec 2015 07:16:09 +0000 (GMT) From: Pavel Fedin Date: Fri, 11 Dec 2015 10:16:08 +0300 Message-id: <004601d133e3$cef21760$6cd64620$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Content-language: ru Subject: [Qemu-devel] vhost_user and VIRTIO_NET_F_GUEST_ANNOUNCE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello! I am currently testing this patchset (http://dpdk.org/ml/archives/dev/2015-December/029193.html), and I've got a question. After the migration the guest has to announce its MAC address for the network to work. Guest OS can do it itself, or qemu can send VHOST_USER_SEND_RARP to the vhost device. The problem arises because: 1. DPDK currently does not implement VHOST_USER_SEND_RARP 2. DPDK does not announce VIRTIO_NET_F_GUEST_ANNOUNCE feature, therefore qemu does not propagate it to the guest, and the quest does not activate own announcing. The question is: why do we expect vhost-user to return VIRTIO_NET_F_GUEST_ANNOUNCE ? Does the device really need to have some explicit support for it? As far as I can understand, there's no special handling to be done, the guest just sends GARP and that's it. So why doesn't qemu turn on this feature by itself? Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia