From: Ian Campbell Subject: Re: Domains not being destroyed properly Date: Tue, 21 Jun 2011 17:42:06 +0100 Message-ID: <1308674526.6920.103.camel@zakaz.uk.xensource.com> References: <4DFB3A90.70707@overnetdata.com> <1308657108.6920.25.camel@zakaz.uk.xensource.com> <4E009530.2040108@overnetdata.com> <20110621133908.GE5650@dumpdata.com> <4E00B019.5090108@overnetdata.com> <1308671090.6920.89.camel@zakaz.uk.xensource.com> <19968.50764.426693.131975@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <19968.50764.426693.131975@mariner.uk.xensource.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: Ian Jackson Cc: "xen-devel@lists.xensource.com" , Anthony Wright , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Tue, 2011-06-21 at 17:26 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] Domains not being destroyed properly"): > > I suspect that you will probably find that only the hypervisor parts of > > the domain are being cleaned up by killing qemu -- e.g. the xenstore > > entries and some other stuff (e.g. libxl user data) are not being > > cleaned up. > > It is puzzling that the hypervisor domain gets destroyed at all. What > is making the destroy domain hypercall ? I wondered that and handwaved it to myself as being the HLT-with-interrupt-disabled logic kicking in and shutting down the guest but now that I look it seems that this just triggers a domain shutdown event to dom0 and doesn't actually destroy the domain (which is actually as expected before I handwaved). So I'm a bit surprised again now too. Ian.