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] [PATCH] add a command to get the state of VMs

To: "James (song wei)" <jsong@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] add a command to get the state of VMs
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Fri, 25 Jun 2010 15:19:30 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 Jun 2010 07:20:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <28989229.post@xxxxxxxxxxxxxxx>
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>
Newsgroups: chiark.mail.xen.devel
References: <28989229.post@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
James (song wei) writes ("[Xen-devel] [PATCH] add a command to get the state of 
VMs"):
> add a command "domstate" to get the state of Vms, which may have one state of
> {'shutoff', 'idle','shutdown','running','crashed','paused' or 'paused by
> admin"}.

I'm going to apply this patch, but:

That you wrote this patch suggests that you're using the xend "managed
domains" feature.  This feature is not supported by the new xl/libxl
tools, and the current plans are to phase out xend.

Xend will still be in 4.1 but will very likely not be the default
toolstack in 4.1.  Personally at some point I hope it will be
removed; it's unreliable and unmaintainable.

So you may want to consider a migration path away from xend "managed
domains".  The xl toolstack supports the init.d-based machinery for
automatically saving and restoring domains on dom0 reboot; if you need
a more heavyweight approach then XCP may be more to your liking.

Ian.

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