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

Re: [Xen-devel] Early ACPI events prevent subsequent ACPI functionality on xen 4.3 + HVM domU



On 05/21/2013 04:36 PM, George Dunlap wrote:
On 05/21/2013 04:17 PM, Alex Bligh wrote:


--On 21 May 2013 15:34:34 +0100 George Dunlap
<george.dunlap@xxxxxxxxxxxxx> wrote:

But the problem actually has nothing to do with ACPI -- it's the PV
shutdown command that is getting lost after the driver registers
HVM_PARAM_CALLBACK_IRQ but before something else comes up that starts
watching ../control/shutdown.

I'm puzzled as to why you say that as the problem does not appear
without ACPI in the xl.conf file.

I can still get the same effect -- the only difference for me seems to
be that the "window" in which I can send a shutdown with no effect it is
shorter.  Maybe ACPI causes the extra few seconds at boot which makes it
more likely you're going to hit it?

If you can't trigger it manually, try something like this:

xl create dom.cfg ; while ! xl shutdown dom ; do sleep 1 ; done

Before PARAM_CALLBACK_IRQ is set, "xl shutdown dom" will fail, so this will keep trying every 1 second until it succeeds. Since this is most likely within 1 second of PARAM_CALLBACK_IRQ being set, it should be within the window where the watch isn't set yet (or whatever it is that makes domU responsive to the PV shutdown commands).

It works reliably for me with acpi=0.

 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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