From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: kvm tools: rhel6.0 guest hung during shutdown Date: Mon, 11 Apr 2011 22:32:37 +0300 Message-ID: <20110411193237.GB21604@redhat.com> References: <20110410134931.GA7635@t400> <20110410135854.GF17809@redhat.com> <1302548490.15231.15.camel@jaguar> <20110411190743.GA21604@redhat.com> <4DA35656.8070608@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Pekka Enberg , Amos Kong , kvm@vger.kernel.org, Asias He , Ingo Molnar To: Cyrill Gorcunov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:1158 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752461Ab1DKTcv (ORCPT ); Mon, 11 Apr 2011 15:32:51 -0400 Content-Disposition: inline In-Reply-To: <4DA35656.8070608@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Apr 11, 2011 at 11:28:22PM +0400, Cyrill Gorcunov wrote: > On 04/11/2011 11:07 PM, Gleb Natapov wrote: > > On Mon, Apr 11, 2011 at 10:01:30PM +0300, Pekka Enberg wrote: > >> On Sun, 2011-04-10 at 16:58 +0300, Gleb Natapov wrote: > >>> On Sun, Apr 10, 2011 at 09:49:31PM +0800, Amos Kong wrote: > >>>> System halted. > >>>> [note: guest hung .......] > >>>> > >>> Isn't that expected result without ACPI support? I would expect all guests > >>> to hang like that at the end. > >> > >> I see hangs with Debian Squeeze image too but not with the minimal QEMU > >> image I usually test things with. I wonder, though, why userspace > >> insists on using ACPI for shutdown as we boot with 'noapic'. > >> > > There is not way to power down PC from software without ACPI (may be APM > > has something, but I doubt kvm-tool implements it either). Do you remember > > Windows 95 "it is now safe to turn off your computer" screen? > > yup, iirc APM had some set power state entry point, but not sure, need to find docs ;) > Just go for ACPI then. APM is dead. -- Gleb.