From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: initiating linux guest shutdown from host Date: Wed, 23 Apr 2008 13:08:25 +0300 Message-ID: <480F0A99.4000201@qumranet.com> References: <68676e00804230218n6912e86ap1b419d4691f95a0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, Nikola Ciprich To: extmaillist@linuxbox.cz Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org extmaillist@linuxbox.cz wrote: > > > On Wed, 23 Apr 2008, Luca Tettamanti wrote: > > >> libvirt sends "system_powerdown" to the monitor; is ACPI is enabled >> then the guest sees the event but it's free to ignore it (it's the >> same as pressing the power button on a real machine: the OS sees the >> event and may start the shutdown, ask the user what to do, ignore it, >> etc.); e.g. the default ACPI script of the debian stops the desktop >> manager if it's running but doesn't shut down the machine. If the ACPI >> daemon is not running in the guest then the event is lost... >> >> Luca >> >> >> > > Hi Luca, > thanks for the answer. Well, then it works as I expected. I already tried > starting acpid in debug mode, but system doesn't seem to receive any > event, although according to dmesg, ACPI itself seems to work (and I can > poweroff from the guest) > A recent regression caused powerdown SCI to stop working. I've reverted this and it should work again in kvm-68. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone