From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Is: events not being cleared during fast migration over InfiniBand Was: Re: xen 4.3 test report Date: Wed, 5 Jun 2013 14:50:05 -0400 Message-ID: <20130605185005.GA15558@phenom.dumpdata.com> References: <20130524141150.GA3900@phenom.dumpdata.com> <20130525114058.GH2418@localhost.localdomain> <20130603140837.GP6893@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Vasiliy Tolstov Cc: George Dunlap , Ian Jackson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Tue, Jun 04, 2013 at 04:17:55PM +0400, Vasiliy Tolstov wrote: > 2013/6/3 Konrad Rzeszutek Wilk : > > The non-debug version tells me it is: > > > > 289 if ( (port = get_free_port(d)) < 0 ) > > 290 ERROR_EXIT(port); > > > > Which gets -EEXIST from get_free_port. But get_free_port only returns > > -EINVAL, -ENOMEM, and -ENOSPC in failure modes. > > > > But we get -EEXIST? Could you re-run git diff and attach output to > > this email? I think you tweaked the debug code a bit so I am looking > > at something different? > > > Oh sorry. Yes i modify you patch to this version: That is OK. > - if ( v->virq_to_evtchn[virq] != 0 ) > + if ( v->virq_to_evtchn[virq] != 0 ) { > + gdprintk(XENLOG_WARNING, "d%dv%d [%s:%d], port:%d, rc:%ld\n", > d->domain_id, > + vcpu, __func__,__LINE__, v->virq_to_evtchn[virq], > (long)-EEXIST); > ERROR_EXIT(-EEXIST); OK, so the value was 3 (event channel), and I am not sure what the virq value was. But it looks as if somebody did not clear that and we are tripping over it. George, have you seen issues with events not being cleared during migration?