From: John Levon Subject: Re: 15142:78389dbb08bb and domain state Date: Thu, 22 Nov 2007 16:44:34 +0000 Message-ID: <20071122164434.GA6833@totally.trollied.org.uk> References: <20071122160455.GA4798@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, Nov 22, 2007 at 04:07:55PM +0000, Keir Fraser wrote: > >> I have now, and it works for me. My domid gets zapped in cleanupDomain(). It > >> gets called twice from destroyDomain(), once via > >> XendDomain.instance.remove_domain() and the other as a direct invocation. > > > > I don't see any code to zap domid there. BTW the call from > > remove_domain() shouldn't happen as the _stateGet will be > > DOM_STATE_HALTED at that point. > > Looks like xen-unstable c/s 15587 needs backporting to 3.1 branch. Thanks! It does indeed work. However, isn't it effectively regressing the bug fixed by 15142:78389dbb08bb, whatever that is? It just moves the clearing of domid a couple of lines down. regards, john