From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 431CAA6A for ; Wed, 16 Dec 2015 13:08:05 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 16 Dec 2015 04:08:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,436,1444719600"; d="scan'208";a="618929585" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.66.49]) by FMSMGA003.fm.intel.com with ESMTP; 16 Dec 2015 04:08:03 -0800 Date: Wed, 16 Dec 2015 20:08:17 +0800 From: Yuanhan Liu To: Pavel Fedin Message-ID: <20151216120817.GQ29571@yliu-dev.sh.intel.com> References: <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> <005501d137f8$e89c0090$b9d401b0$@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005501d137f8$e89c0090$b9d401b0$@samsung.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: dev@dpdk.org, 'Victor Kaplansky' Subject: Re: [dpdk-dev] [PATCH 0/4 for 2.3] vhost-user live migration support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 12:08:05 -0000 On Wed, Dec 16, 2015 at 02:57:15PM +0300, Pavel Fedin wrote: > 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. Thanks for the test. However, I'm more curious about the ping loss? Did you still see that? And to be more specific, have the wireshark captured the GRAP from the guest? And what's the output of 'grep virtio /proc/interrupts' inside guest? --yliu > 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 >