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

[Xen-devel] Domains not being destroyed properly

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Domains not being destroyed properly
From: Anthony Wright <anthony@xxxxxxxxxxxxxxx>
Date: Fri, 17 Jun 2011 12:29:20 +0100
Delivery-date: Fri, 17 Jun 2011 04:31:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
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.


As an extra question... Is there a way to be notified when a domain is
destroyed other than leaving the 'xl create' process lying around? I'd
like to know when any domain is destroyed, and leaving a large number of
processes lying around just to be able to do this seems rather ugly. In
the past I've editted some of the python code to achieve this, but my
patch doesn't work with 4.1, so I'm seeing if there's an official way to
do this before I work out a new patch.

thanks,

Anthony.

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