From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Domains not being destroyed properly Date: Tue, 21 Jun 2011 09:39:08 -0400 Message-ID: <20110621133908.GE5650@dumpdata.com> References: <4DFB3A90.70707@overnetdata.com> <1308657108.6920.25.camel@zakaz.uk.xensource.com> <4E009530.2040108@overnetdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4E009530.2040108@overnetdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Anthony Wright Cc: "xen-devel@lists.xensource.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org On Tue, Jun 21, 2011 at 01:57:20PM +0100, Anthony Wright wrote: > On 21/06/2011 12:51, Ian Campbell wrote: > > On Fri, 2011-06-17 at 12:29 +0100, Anthony Wright wrote: > >> If I create a domain with 'xl create -e', and then shut the domain down > >> with 'xl shutdown' according to 'xl list' it gets stuck in state > >> '--ps-d', with a name of '(none)' and 0 ram, ('xm list' doesn't show the > >> domain). > >> If I destroy the domain with 'xl destroy' the domain is destroyed properly. > >> > >> If I create a domain with 'xl create' (without the '-e' option) and then > >> use 'xl shutdown', the domain is destroyed properly. > >> Since the 'xl shutdown' & 'xl destroy' give different results I presume > >> this is a bug. > > The -e option to xl create means don't daemonize to babysit this domain. > > One of the key bits of functionality of the daemon is to destroy the > > domain after it is shutdown. So if you use -e you need to do the destroy > > manually. So effectively you have gotten what you asked for ;-) > > > However I can't destroy the domain with 'xl destroy'. The command runs, > but the domain is still there afterwards. Is qemu-dm running for that domain? what happens if you kill it?