From: John Levon Subject: Re: 15142:78389dbb08bb and domain state Date: Thu, 22 Nov 2007 16:04:55 +0000 Message-ID: <20071122160455.GA4798@totally.trollied.org.uk> References: 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 03:52:41PM +0000, Keir Fraser wrote: > >> Just to double-check, I'm testing with a managed domain, and not using > >> xen-api for xm - same for you? > > > > That could be the difference. I don't think I've ever run a managed domain. > > 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. regards john