[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] HVM guest shutdown send ACPI Power Event

  • To: "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcdtV7W6GcLK+93ZQuifU9TCHStTWwAISBwi
  • Thread-topic: [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.

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.