From: Alex Bligh Subject: Re: Early ACPI events prevent subsequent ACPI functionality on xen 4.3 + HVM domU Date: Tue, 21 May 2013 20:46:40 +0100 Message-ID: References: <71194FD00ABB7415DD6106AA@nimrod.local> <1369146037.21246.89.camel@zakaz.uk.xensource.com> <519B85FA.6060809@eu.citrix.com> <86B77960F7BEC777A3C5C339@Ximines.local> <519B947D.8030607@eu.citrix.com> <519B9801.3080901@eu.citrix.com> <20130521164531.GE3669@phenom.dumpdata.com> <6D7B8289F0F8A65C8C2A25C7@Ximines.local> <20130521193344.GB6231@phenom.dumpdata.com> Reply-To: Alex Bligh Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130521193344.GB6231@phenom.dumpdata.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: Ian Campbell , George Dunlap , xen-devel@lists.xen.org, Paul Durrant , Stefano Stabellini , Alex Bligh , Anthony Perard , Diana Crisan , Dave Scott List-Id: xen-devel@lists.xenproject.org Konrad, --On 21 May 2013 15:33:44 -0400 Konrad Rzeszutek Wilk wrote: > OK, but we should be able to fix this in Linux by doing something along > these lines (not compile tested): Yep. Not much use on guests with current OS's though :-( >> Somewhat to my surprise we are using the PV/PVHVM route not the ACPI >> route (libxl_domain_shutdown / xl shutdown) so the subject line would >> appear to be inaccurate. >> >> The second problem is that ACPI shutdown appears not to work reliably >> either (whenever issued). > > Right and that one would require some more investigation as I think it > works as it would work on baremetal. Diana thinks it does not - i.e. when you have a fully booted running Ubuntu OS, does not reliably cause shutdown (as per Diana's testing), whether or not you send an a trigger during early boot. Pressing the hardware button does one would presume. > Meaning if you press the 'shutdown' > button and only BIOS is running it will ignore you. This would > be similar to the 'xl trigger' call that hopefully invokes the ACPI > signal. > > You have to hold it for 5 seconds or so for the BIOS to do anything > about it. I'm fine with ACPI shutdown not working before ACPI's been initialised, in BIOS or whatever, so long as it works it has been booted! -- Alex Bligh