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 0 of 2] Add ACPI sleep button for HVM guests and

To: Pasi Kärkkäinen <pasik@xxxxxx>, Paul Durrant <Paul.Durrant@xxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 0 of 2] Add ACPI sleep button for HVM guests and a libxl method for 'pressing' sleep or power.
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>
Date: Wed, 13 Jan 2010 12:46:41 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 13 Jan 2010 04:47:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100113103040.GA25902@xxxxxxxxxxx>
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>
References: <patchbomb.1263377770@xxxxxxxxxxxxxxxxxxxxx> <20100113103040.GA25902@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqUO5rxLADBSiATSJaHuTi5Gcv+egAEeGeA
Thread-topic: [Xen-devel] [PATCH 0 of 2] Add ACPI sleep button for HVM guests and a libxl method for 'pressing' sleep or power.
> So HVM guests without PV drivers can now be shutdown using ACPI..
> Is there 'xm' command for this aswell?

Well, they'll do whatever the guest is internally configured to do when the 
power button is pressed e.g. nothing/shutdown/sleep/hibernate/crash

It is possible to send an ACPI "fatal" event that will likely result in the 
system shutting down. However, the shutdown certainly isn't as graceful as a 
user initiated one -- I know windows doesn't prompt you to save files or close 
programs; I don't know if it even notifies user space applications.

We could add ACPI support for 'Fatal' events, though someone would need to 
volunteer to do some more testing to understand the effects on different OSes. 

Ian

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