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-users

Re: [Xen-users] Zombie VMs cannot be destroyed

To: Michael Froh <mike@xxxxxxxxxxx>
Subject: Re: [Xen-users] Zombie VMs cannot be destroyed
From: Nick Craig-Wood <nick@xxxxxxxxxxxxxx>
Date: Sat, 2 Dec 2006 08:46:18 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 02 Dec 2006 00:46:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6A79DF76-E17F-4AE3-9891-DAA2DC743D96@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <6A79DF76-E17F-4AE3-9891-DAA2DC743D96@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Fri, Dec 01, 2006 at 12:57:03PM -0500, Michael Froh wrote:
> This sounds like a B rate horror movie.  Has anyone else seen Zombie  
> VMs?

Yes!

> I had a number of VMs running and used the following script to  
> destroy them:
> 
> for vm in `xm list | awk '{print $1}' | grep -v Name | grep -v  
> Domain-0`; do xm destroy $vm; done
> 
> This destroyed all of the para-virtualized domains running (4 of  
> them) but turned all the HVM VMs into Zombies as shown here:

You need to kill the qemu-dm process in dom0 as well and then these
domains will disappear.

-- 
Nick Craig-Wood <nick@xxxxxxxxxxxxxx> -- http://www.craig-wood.com/nick

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