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] HVM guest shutdown send ACPI Power Event

To: "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] HVM guest shutdown send ACPI Power Event
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 23 Mar 2007 18:26:56 +0000
Delivery-date: Fri, 23 Mar 2007 11:26:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E2BB8074E5500C42984D980D4BD78EF9CC9FB9@xxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdtV7W6GcLK+93ZQuifU9TCHStTWwAISBwi
Thread-topic: [Xen-devel] HVM guest shutdown send ACPI Power Event
User-agent: Microsoft-Entourage/11.2.5.060620
On 23/3/07 14:29, "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx> wrote:

> Is there any plans to help HVM guests shutdown cleanly by issuing an ACPI
> power button event on HVM shutdown with a configurable timeout?
> 
> This way it would allow ACPI aware HVM guests to initiate a clean shutdown and
> xend will only forcibly shutdown the guest if it hasn't powered itself off
> within the timeout value.
> 
> This would be extremely helpful for Windows guests which can detect the ACPI
> power button event and cleanly shutdown.

I think this is quite likely. It just needs someone to grok how the ACPI
event mechanism works. I expect some extra procedures are needed in the ACPI
tables, an extra IO port perhaps needs to be emulated in qemu-dm and also
we'd need to trigger ACPI SCIs from qemu.

 -- Keir



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

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