From: John Levon Subject: Re: xm shutdown timeout Date: Thu, 24 May 2007 14:45:55 +0100 Message-ID: <20070524134555.GA6083@totally.trollied.org.uk> References: <20070523155641.GA18567@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, May 24, 2007 at 09:41:56AM +0100, Keir Fraser wrote: > > But this still isn't right. Normally I want the domain destroyed when I > > do a shutdown (it is, after all, a shutdown). However, if the domain > > /does not shutdown cleanly/, there are a number of things I might want: > > Perhaps pushing into state 'crashed' is the right thing to do, and treat > that state as a catch-all for exceptional termination conditions? I considered that. Whilst it's an improvement on what happens now, it still seems like the wrong thing to me: typically a crash will dump core and destroy, meaning I can't then log in and look around (or debug it live from the dom0). I imagine I could set 'preserve', but then I have to preserve real crashes too, which is not likely to be what I want. Since we can't have a new state, it seems like leaving it would be best. Perhaps renaming it to indicate it won't respond to a shutdown request? regards john