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: Wed, 16 Dec 2015 14:57:15 +0300 Message-ID: <005501d137f8$e89c0090$b9d401b0$@samsung.com> References: <20151215082324.GG29571@yliu-dev.sh.intel.com> <007f01d13715$042a0a80$0c7e1f80$@samsung.com> <20151215100548.GD32243@pxdev.xzpeter.org> <00b601d13733$97e063a0$c7a12ae0$@samsung.com> <20151215133612.GJ29571@yliu-dev.sh.intel.com> <00ca01d1373f$3dd4ab30$b97e0190$@samsung.com> <20151215135907.GK29571@yliu-dev.sh.intel.com> <00f101d13749$0eb97330$2c2c5990$@samsung.com> <20151216072818.GO29571@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, 'Victor Kaplansky' To: 'Yuanhan Liu' Return-path: Received: from mailout4.w1.samsung.com (mailout4.w1.samsung.com [210.118.77.14]) by dpdk.org (Postfix) with ESMTP id 802228E5E for ; Wed, 16 Dec 2015 12:57:18 +0100 (CET) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NZG00E1D97GWC80@mailout4.w1.samsung.com> for dev@dpdk.org; Wed, 16 Dec 2015 11:57:16 +0000 (GMT) In-reply-to: <20151216072818.GO29571@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! > I can reproduce your issue on my side with above patch (and only when > F_GUEST_ANNOUNCE is not set at DPDK vhost lib). TBH, I don't know > why that happened, the cause could be subtle, and I don't think it's > worthwhile to dig it, especially it's not the right way to do it. May be not right, may be it can be done... Actually, i found what was wrong. qemu tries to feed features back to vhost-user via VHOST_USER_SET_FEATURES, and DPDK barfs on the unknown bit. More tweaking is needed for qemu to do the trick correctly. > So, would you please try to set the F_GUEST_ANNOUNCE flag on DPDK vhost > lib side, as my early diff showed and have another test? Tried it, works fine, thank you. I have almost implemented the workaround in qemu... However now i start to think that you are right. Theoretically, the application may want to suppress GUEST_ANNOUNCE for some reason. So, let it stay this way. Please include this bit into your v2. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia