From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: kvm tools: rhel6.0 guest hung during shutdown Date: Mon, 11 Apr 2011 23:28:22 +0400 Message-ID: <4DA35656.8070608@gmail.com> References: <20110410134931.GA7635@t400> <20110410135854.GF17809@redhat.com> <1302548490.15231.15.camel@jaguar> <20110411190743.GA21604@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Pekka Enberg , Amos Kong , kvm@vger.kernel.org, Asias He , Ingo Molnar To: Gleb Natapov Return-path: Received: from mail-fx0-f46.google.com ([209.85.161.46]:36721 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752311Ab1DKT20 (ORCPT ); Mon, 11 Apr 2011 15:28:26 -0400 Received: by fxm17 with SMTP id 17so3809806fxm.19 for ; Mon, 11 Apr 2011 12:28:25 -0700 (PDT) In-Reply-To: <20110411190743.GA21604@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 ;) > > -- > Gleb. -- Cyrill