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: 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: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Date: Thu, 14 Jan 2010 09:39:08 +0900
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 13 Jan 2010 16:39:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B4DA25A.6010506@xxxxxxxxxx>
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> <4B4DA25A.6010506@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
"xm trigger <Domain> power" has worked since xen-3.4.0.
It's quite easy to add support "xm trigger <Domain> sleep". 

-- Kouya

Paul Durrant writes:
> Pasi Kärkkäinen wrote:
> > On Wed, Jan 13, 2010 at 10:16:10AM +0000, Paul Durrant wrote:
> >> The first patch in this series adds a static ACPI sleep button to HVM 
> >> guests
> >> (akin to the power button that was added some time ago). The second patch
> >> adds support into libxenlight for pressing either the power or sleep 
> >> buttons.
> >>
> > So HVM guests without PV drivers can now be shutdown using ACPI.. 
> 
> Yep :-)
> 
> > Is there 'xm' command for this aswell? 
> > 
> 
> No, I didn't have time to do an xm command for it. You can obviously use 
> the xl command even on a domain started with xm though.
> 
>    Paul
> 
> -- 
> ===============================
> Paul Durrant, Software Engineer
> 
> Citrix Systems (R&D) Ltd.
> First Floor, Building 101
> Cambridge Science Park
> Milton Road
> Cambridge CB4 0FY
> United Kingdom
> ===============================
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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