WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Domains not being destroyed properly

On Tue, 2011-06-21 at 20:35 +0100, Tim Deegan wrote:
> Hi, 
> 
> At 17:26 +0100 on 21 Jun (1308677212), 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 suspect that xl destroy is doing it, but the domain can't actually
> disappear until the last references to ist memory are dropped by
> qemu-dm.

Anthony reckons that just killing the qemu after an "xl shutdown" is
sufficient, without an "xl destroy". I can't see anywhere that "xl
shutdown" would issue the destroydomain hypercall though (which is
expected, since it shouldn't be doing it).

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel