From owner-freebsd-virtualization@FreeBSD.ORG Thu Jan 30 14:58:55 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 60F3A942 for ; Thu, 30 Jan 2014 14:58:55 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 37766144E for ; Thu, 30 Jan 2014 14:58:55 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id F28B6B943; Thu, 30 Jan 2014 09:58:53 -0500 (EST) From: John Baldwin To: freebsd-virtualization@freebsd.org Subject: Re: bhyve - vm shutdown Date: Thu, 30 Jan 2014 09:57:38 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20130906; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201401300957.38696.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 30 Jan 2014 09:58:54 -0500 (EST) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 30 Jan 2014 14:58:55 -0000 On Thursday, January 30, 2014 4:00:41 am Andrea Brancatelli wrote: > Tonight we "forgot" a freebsd vm in "shutdown" state - i mean, we run > shutdown -p now and the VM stopped at the "press enter to reboot". Nobody > pressed enter because we forgot, so the bhyve process kept running, this > morning we realized that the host's CPU kept 120% all the night long, until > we just pressed "enter" in the vm console and the vm shut down. > > It was the only VM running. 2 CPU, no -P, "standard" command line, usual > FreeBSD 10's plain bhyve. > > Maybe it's worth checking? This should now DTRT on recent 10 stable and HEAD. The bhyve in 10.0 release did not support ACPI soft-off, so shutdown -p now is equivalent to shutdown -h now on 10.0. -- John Baldwin