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: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] HVM guest shutdown send ACPI Power Event
From: "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx>
Date: Fri, 23 Mar 2007 15:55:52 -0400
Delivery-date: Fri, 23 Mar 2007 12:54:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: normal
In-reply-to: <C229CC70.C268%Keir.Fraser@xxxxxxxxxxxx>
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>
Priority: normal
References: <E2BB8074E5500C42984D980D4BD78EF9CC9FB9@xxxxxxxxxxxxxxxxxxxxx> <C229CC70.C268%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdtV7W6GcLK+93ZQuifU9TCHStTWwAISBwiAAEepxA=
Thread-topic: [Xen-devel] HVM guest shutdown send ACPI Power Event
> -----Original Message-----
> From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx] 
> Sent: Friday, March 23, 2007 2:27 PM
> To: Ross S. W. Walker; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] HVM guest shutdown send ACPI Power Event
> 
> 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.

Sounds good, if I wasn't clueless on system BIOS I'd jump in
with a patch, otherwise I will just have to add it to the wish
list for 3.0.5.

Of course the python scripts will also need to be modified to
add a timeout wait option for HVM guests, otherwise the
qemu-dm will signal an ACPI power event, but xend will kill
the guest before it can shutdown.

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.


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

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