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] xm shutdown --all --wait and zombie domains

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] xm shutdown --all --wait and zombie domains
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Fri, 7 Oct 2005 16:42:38 +0100
Delivery-date: Fri, 07 Oct 2005 15:40:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <623652d50510070831w37939bg@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <623652d50510070831w37939bg@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, Oct 07, 2005 at 04:31:08PM +0100, Chris Bainbridge wrote:

> At the moment xm shutdown --all --wait hangs with a zombie domain.
> This means it hangs xend stop on dom0 shutdown.. I see no use for this
> behaviour, it would be better to skip Zombie-Domain-* domains.

I agree.  The waiting code is in xen/xm/shutdown.py, you just need to check
whether the state string returned by the server contains a 'd', and if so,
treat it as dead.  A patch would be appreciated!

Ewan.

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

<Prev in Thread] Current Thread [Next in Thread>