* HVM guest shutdown send ACPI Power Event
@ 2007-03-23 14:29 Ross S. W. Walker
2007-03-23 18:26 ` Keir Fraser
2007-03-25 17:37 ` Julian Pawlowski
0 siblings, 2 replies; 4+ messages in thread
From: Ross S. W. Walker @ 2007-03-23 14:29 UTC (permalink / raw)
To: xen-devel
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.
Ross S. W. Walker
Information Systems Manager
Medallion Financial, Corp.
437 Madison Avenue
38th Floor
New York, NY 10022
Tel: (212) 328-2165
Fax: (212) 328-2125
WWW: http://www.medallion.com
______________________________________________________________________
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HVM guest shutdown send ACPI Power Event
2007-03-23 14:29 HVM guest shutdown send ACPI Power Event Ross S. W. Walker
@ 2007-03-23 18:26 ` Keir Fraser
2007-03-23 19:55 ` Ross S. W. Walker
2007-03-25 17:37 ` Julian Pawlowski
1 sibling, 1 reply; 4+ messages in thread
From: Keir Fraser @ 2007-03-23 18:26 UTC (permalink / raw)
To: Ross S. W. Walker, xen-devel
On 23/3/07 14:29, "Ross S. W. Walker" <rwalker@medallion.com> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: HVM guest shutdown send ACPI Power Event
2007-03-23 18:26 ` Keir Fraser
@ 2007-03-23 19:55 ` Ross S. W. Walker
0 siblings, 0 replies; 4+ messages in thread
From: Ross S. W. Walker @ 2007-03-23 19:55 UTC (permalink / raw)
To: Keir Fraser, xen-devel
> -----Original Message-----
> From: Keir Fraser [mailto:Keir.Fraser@cl.cam.ac.uk]
> Sent: Friday, March 23, 2007 2:27 PM
> To: Ross S. W. Walker; xen-devel@lists.xensource.com
> Subject: Re: [Xen-devel] HVM guest shutdown send ACPI Power Event
>
> On 23/3/07 14:29, "Ross S. W. Walker" <rwalker@medallion.com> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HVM guest shutdown send ACPI Power Event
2007-03-23 14:29 HVM guest shutdown send ACPI Power Event Ross S. W. Walker
2007-03-23 18:26 ` Keir Fraser
@ 2007-03-25 17:37 ` Julian Pawlowski
1 sibling, 0 replies; 4+ messages in thread
From: Julian Pawlowski @ 2007-03-25 17:37 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
> Is there any plans to help HVM guests shutdown cleanly by issuing an ACPI
> power button event on HVM shutdown with a configurable timeout?
Excellent questian! :-)
Julian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-03-25 17:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-23 14:29 HVM guest shutdown send ACPI Power Event Ross S. W. Walker
2007-03-23 18:26 ` Keir Fraser
2007-03-23 19:55 ` Ross S. W. Walker
2007-03-25 17:37 ` Julian Pawlowski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.