From: Alex Bligh Subject: Re: Early ACPI events prevent subsequent ACPI functionality on xen 4.3 + HVM domU Date: Tue, 21 May 2013 18:48:16 +0100 Message-ID: <6D7B8289F0F8A65C8C2A25C7@Ximines.local> References: <752956577.8634488.1368537190555.JavaMail.root@zimbra002> <1368812151.24012.66.camel@hastur.hellion.org.uk> <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> 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: <20130521164531.GE3669@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 , George Dunlap Cc: Ian Campbell , 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 12:45:31 -0400 Konrad Rzeszutek Wilk wrote: > For the emulated path I am not entirely sure how the ACPI path works > when a guest hasn't initialized its ACPI machinery. I would think the > ACPI SCI would be triggered, but it might not be since the ACPI AML > has no way of running (as the OS hasn't even started reading it). In > which case the emulated path ought to use a fallback, whatever that is. > But I am not sure if there is a fallback except "yanking the power" - > which I think is what normal machines do if you hold the power off button > for more than 3 seconds. The problem isn't that a shutdown doesn't work if there are no drivers for it. The problem is that if you issue a shutdown when there are no drivers, then later issue a shutdown when there are drivers, it still doesn't work. 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). -- Alex Bligh