From owner-freebsd-virtualization@FreeBSD.ORG Tue Apr 3 16:21:06 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D23C1106564A for ; Tue, 3 Apr 2012 16:21:06 +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 87B0B8FC16 for ; Tue, 3 Apr 2012 16:21:06 +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 A23F711F32; Wed, 4 Apr 2012 02:21:03 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local (c-67-190-9-105.hsd1.co.comcast.net [67.190.9.105]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BDB56989 (AUTH peterg@ptree32.com.au); Wed, 4 Apr 2012 02:21:02 +1000 Message-ID: <4F7B236B.2080104@freebsd.org> Date: Tue, 03 Apr 2012 10:20:59 -0600 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: Takuya ASADA References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Info: RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,SPF_SOFTFAIL X-Junkmail-Status: score=29/51, host=dommail.onthenet.com.au Cc: freebsd-virtualization@freebsd.org Subject: Re: Howto close BHyVe console X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Apr 2012 16:21:06 -0000 > I could run BHyVe on my PC with neel's guest image by following CFT > page(http://callfortesting.org/bhyve/), it just worked without > problem, but I couldn't shutdown guest OS safely. > shutdown command in guest OS doesn't poweroff the VM, and I have no > idea to close bhyve console. The vmrun.sh script loops endlessly, running the user-space loader and then bhyve in succession. I think you want to kill the pid of that and not bhyve itself, or it will continue looping. later, Peter.