From: Tristan Gingold Subject: Re: [RFC][PATCH] allow dom0 to power off machine using ACPI on shutdown. Date: Fri, 7 Apr 2006 07:56:03 +0100 Message-ID: <200604070856.03357.Tristan.Gingold@bull.net> References: <1144348570.7725.9.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1144348570.7725.9.camel@localhost.localdomain> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Harry Butterworth , xen-devel@lists.xensource.com, niv@us.ibm.com List-Id: xen-devel@lists.xenproject.org Le Jeudi 06 Avril 2006 20:36, Harry Butterworth a =C3=A9crit : > This is an evil little patch which allows my dom0 to power off the > machine on shutdown successfully and doesn't break my domU shutdown > behaviour. > > The #if bits are ugly and are present because pm_power_off is declared > above in the same #if context, maybe they are not necessary. I'm not > sure about the solution for ia64. On ia64, we don't xen/core/reboot.c. The hypervisor is able to power off the machine. The reason is simple: the= re=20 is a call for that in EFI. Tristan.