Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-api

Re: [Xen-API] Additional vm power state values

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-API] Additional vm power state values
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Wed, 23 Aug 2006 23:37:26 +0100
Cc: Xen-API <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 23 Aug 2006 15:37:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060823222600.GK14268@xxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <44EA2A3D.3080505@xxxxxxxxxx> <20060823222600.GK14268@xxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Wed, Aug 23, 2006 at 11:26:00PM +0100, Daniel P. Berrange wrote:

> On Mon, Aug 21, 2006 at 03:48:45PM -0600, Jim Fehlig wrote:
> > Currently vm_power_state enumeration contains Halted, Paused, Running, 
> > Suspended, ShuttingDown, and Unknown values.  Since ShuttingDown is in 
> > the list can we add Activating, Suspending, (Migrating?)?  I point out 
> > ShuttingDown because it, like the proposed additions, indicate that a 
> > state transition is in progress.  I don't consider them vm power states 
> > so perhaps they should be defined separately.
> 
> Current xm tools also document another state 'crashed'  although I've not
> actually seen it in practice I assume it can happen if the PV guest kernel
> panics.

Good point, yes.  You've probably never seen it because the guest only
ends up like that if the on_crash=preserve flag is set, otherwise the
guest will be cleaned up automatically by Xend (unless of course you've
never crashed a guest, but I don't believe that for a second ;-)

You're right that this is another state that we ought to include.

Thanks,

Ewan.

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

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