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: Jim Fehlig <jfehlig@xxxxxxxxxx>
Subject: Re: [Xen-API] Additional vm power state values
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Wed, 23 Aug 2006 23:26:00 +0100
Cc: Xen-API <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 23 Aug 2006 15:26:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44EA2A3D.3080505@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>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
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.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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