From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKDK0-0008P7-WD for qemu-devel@nongnu.org; Wed, 20 Aug 2014 17:21:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKDJu-0004JA-RH for qemu-devel@nongnu.org; Wed, 20 Aug 2014 17:21:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKDJu-0004J2-Jl for qemu-devel@nongnu.org; Wed, 20 Aug 2014 17:21:26 -0400 Date: Wed, 20 Aug 2014 23:21:53 +0200 From: "Michael S. Tsirkin" Message-ID: <20140820212153.GA25585@redhat.com> References: <1408424189-10510-1-git-send-email-jasowang@redhat.com> <53F46909.2040101@huawei.com> <20140820101833.GA17371@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140820101833.GA17371@redhat.com> Subject: Re: [Qemu-devel] [PATCH V3] vhost_net: start/stop guest notifiers properly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Zhangjie (HZ)" Cc: Jason Wang , qemu-devel@nongnu.org, William Dauchy On Wed, Aug 20, 2014 at 12:18:33PM +0200, Michael S. Tsirkin wrote: > On Wed, Aug 20, 2014 at 05:23:21PM +0800, Zhangjie (HZ) wrote: > > On 2014/8/19 12:56, Jason Wang wrote: > > > commit a9f98bb5ebe6fb1869321dcc58e72041ae626ad8 vhost: multiqueue > > call it before setting > > > Zhang Jie, please test this patch to see if it fixes the issue. > > > > > +static void vhost_net_set_vq_index(struct vhost_net *net, int vq_index) > > > +{ > > > + net->dev.vq_index = vq_index; > > > +} > > int vq_index) > > > ... > > Because of vhost_net_set_vq_index, VM can be start successfully. > > But, after about 80 times of migration under my environment, virtual nic became unreachable again. > > When I use jprobe to notify tap, the virtual nic becomes reachable again. This shows that interrupts missing causes > > the problem. > > Could you please clarify what do you mean by "notify tap" here? > Thanks! Or just post your jprobe script. > > -- > > Best Wishes! > > Zhang Jie