From: Alex Bligh Subject: Re: Early ACPI events prevent subsequent ACPI functionality on xen 4.3 + HVM domU Date: Wed, 22 May 2013 12:16:57 +0100 Message-ID: <8AFD571E8A65CC3529A5604A@Ximines.local> References: <752956577.8634488.1368537190555.JavaMail.root@zimbra002> <86B77960F7BEC777A3C5C339@Ximines.local> <519B947D.8030607@eu.citrix.com> <519B9801.3080901@eu.citrix.com> <20130521164531.GE3669@phenom.dumpdata.com> <6D7B8289F0F8A65C8C2A25C7@Ximines.local> <1809930721.71216.1369219520131.JavaMail.root@flexiant.com> <519CA407.7000609@eu.citrix.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: <519CA407.7000609@eu.citrix.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: George Dunlap , Diana Crisan Cc: Ian Campbell , Konrad Rzeszutek Wilk , xen-devel@lists.xen.org, Paul Durrant , Stefano Stabellini , Alex Bligh , Anthony Perard , Dave Scott List-Id: xen-devel@lists.xenproject.org George, --On 22 May 2013 11:55:03 +0100 George Dunlap wrote: >> I have tested both cases with Ubuntu. >> Sending the trigger is reliable if you wait for boot to fully complete. >> However, if I issue it during boot it does not get executed. Any >> subsequent triggers do not get executed as well until one is sent when >> the vm has fully booted. > > Right -- so what I hear you saying is, "ACPI commands issued before the > OS is paying attention are ignored." I think that's expected behavior. > > I can see that "Shut this vm down as soon as possible" is a useful thing > to have. The problem at the moment guest OSes can ignore signals sent too > early, it doesn't really seem within the scope of libxl to work around > that. I (now) think xl trigger power is working as well as could be expected. xl shutdown has a problem (in that an early use of this breaks later use), but we can avoid that by using xl trigger power (or rather the libxl equivalent). So we have a workaround for this one. FWIW our workaround actually will be send xl trigger power every second until the machine disappears, as there is in general no IP connectivity between hypervisor and guest in our environment. (Just in case anyone is reading the archive and wants a hint). So that leaves our one (hurray!) outstanding issue with xen 4.2 (and 4.3) Diana's first problem - the stuck clock after migration. -- Alex Bligh