From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Domains not being destroyed properly Date: Tue, 21 Jun 2011 18:01:32 +0100 Message-ID: References: <1308674526.6920.103.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1308674526.6920.103.camel@zakaz.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 Campbell , Ian Jackson Cc: "xen-devel@lists.xensource.com" , Anthony Wright , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On 21/06/2011 17:42, "Ian Campbell" wrote: > 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. A domain can only be destroyed via the destroydomain domctl from dom0. -- Keir > Ian. > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel