From owner-freebsd-virtualization@FreeBSD.ORG Tue Dec 3 00:29:43 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 ESMTPS id 595E216C for ; Tue, 3 Dec 2013 00:29:43 +0000 (UTC) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id B69B61744 for ; Tue, 3 Dec 2013 00:29:42 +0000 (UTC) Received: (qmail 64790 invoked by uid 89); 3 Dec 2013 00:29:35 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@88.217.181.70) by mail.grem.de with ESMTPA; 3 Dec 2013 00:29:35 -0000 Date: Tue, 3 Dec 2013 01:29:34 +0100 From: Michael Gmelin To: Marc Fournier Subject: Re: Upcoming FreeBSD 10.x + bhyve ... Message-ID: <20131203012934.057a545a@bsd64.grem.de> In-Reply-To: <70B115D9-436C-45EC-8F2E-CEBB2A48A9A5@hub.org> References: <56DEE328-7C96-4AC9-BF87-2C41D4C7949F@hub.org> <529D210C.9020801@freebsd.org> <70B115D9-436C-45EC-8F2E-CEBB2A48A9A5@hub.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-virtualization@freebsd.org 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: Tue, 03 Dec 2013 00:29:43 -0000 On Mon, 2 Dec 2013 16:11:53 -0800 Marc Fournier wrote: >=20 > On Dec 2, 2013, at 16:08 , Peter Grehan wrote: >=20 > > Hi Marc, > >=20 > >> I just read through http://bhyve.org/bhyve-manual.txt, and one > >> thing that doesn=E2=80=99t seem to be supported (or, I=E2=80=99ve miss= ed it) is > >> HeadLess support =E2=80=A6 I get the impression that using this on a > >> remote server isn=E2=80=99t currently possible, or am I missing someth= ing > >> in the docs? > >=20 > > It is. The easiest is using the recent change (r258668) which > > allows bhyveload and bhyve to direct output to a tty instead of > > just stdio. >=20 > =E2=80=98k, that would work =E2=80=A6 so *if* I=E2=80=99m reading the doc= s right, the intiial > build of the file system / install of guest OS, happens on an > interactive remote ssh session, then I=E2=80=99d shutdown and restart it > redirecting output =E2=80=A6 ? >=20 > I=E2=80=99m plannin gon building a 10.x system over Christmas to start > playing with this, just trying to do as much research as possible > before =E2=80=A6=20 >=20 > thx >=20 >=20 Even though it's not the official solution, my little bhyve-rc script works reliably (requires sysutils/tmux). You can basically "tmux attach" into your session anytime. It also provides bhyve_guest for a clean shutdown of FreeBSD guests (a workaround until bhyve can inject the necessary acpi instructions to trigger a shutdown). I've been using it for half a year now and it gets the job done. You can find it here http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/bhyve_rc/ Please share your experience with the changes in r258668, quite interested if this works ok for you. --=20 Michael Gmelin