From owner-freebsd-virtualization@FreeBSD.ORG Tue Oct 29 00:51:11 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 456D9B5E; Tue, 29 Oct 2013 00:51:11 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 06B812C72; Tue, 29 Oct 2013 00:51:10 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 08780123A3; Tue, 29 Oct 2013 10:51:03 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local (c-67-161-27-37.hsd1.ca.comcast.net [67.161.27.37]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPL89945 (AUTH peterg@ptree32.com.au); Tue, 29 Oct 2013 10:51:01 +1000 Message-ID: <526F066C.2020001@freebsd.org> Date: Mon, 28 Oct 2013 17:50:52 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Craig Rodrigues , "freebsd-virtualization@freebsd.org" Subject: Re: Bhyve: acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 00:51:11 -0000 Hi Craig, > I notice that in BHyve, if I try to do "shutdown -p now", > there is an ACPI error: > > ============================================================== > Halting and powering down... > Waiting (max 60 seconds) for system process `vnlru' to stop...done > Waiting (max 60 seconds) for system process `bufdaemon' to stop...done > Waiting (max 60 seconds) for system process `syncer' to stop...at > Syncing disks, vnodes remaining...0 done > All buffers synced. > Uptime: 17s > acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND > > The operating system has halted. > Please press any key to reboot. > > ============================================================== > > Is that a known issue? Yes. bhyve doesn't advertise sleep/power states so it can't deal with an attempt to invoke ACPI methods to enter those. But, we should probably be able to put something in the DSDT that will force an exit. > Is there another way to trigger a BHyve VM to shutdown from > inside the VM? Right now I need to "bhyve --destroy --vm=myvm". reboot and halt will both work fine. later, Peter.