From owner-freebsd-virtualization@FreeBSD.ORG Fri Jun 28 15:07:12 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 09A9BE1E for ; Fri, 28 Jun 2013 15:07:12 +0000 (UTC) (envelope-from lidl@pix.net) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::3c]) by mx1.freebsd.org (Postfix) with ESMTP id D3D381196 for ; Fri, 28 Jun 2013 15:07:11 +0000 (UTC) Received: from torb.pix.net (torb.pix.net [IPv6:2001:470:e254:10:12dd:b1ff:febf:eca9]) (authenticated bits=0) by hydra.pix.net (8.14.5/8.14.5) with ESMTP id r5SF7AMU072901 for ; Fri, 28 Jun 2013 11:07:10 -0400 (EDT) (envelope-from lidl@pix.net) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.8 at mail.pix.net Message-ID: <51CDA69E.9040407@pix.net> Date: Fri, 28 Jun 2013 11:07:10 -0400 From: Kurt Lidl User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: making bhyve 100% silent 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: Fri, 28 Jun 2013 15:07:12 -0000 > Thanks an other issue is tap needs to be reset on reboot of the guest > is there anyway around this? > > On Fri, Jun 28, 2013 at 2:01 AM, Peter Grehan wrote: >> Hi Aryeh, >> >> >>> bhyve(8) seems to bypass the standard stdin/out/err and send it's >>> output directly to the TTY when handling guest console I/O. I need >>> to make it so it is 100% silent (and/or send all it's output to a file >>> and accept no input at all). How can I do this? >> >> >> For now, edirect bhyveload's output to /dev/null, and remove the ",stdio" >> part of uart slot configuration. >> >> e.g. change "-S 10,uart,stdio" to "-S 10,uart" >> >> I should be doing some enhancements in this area in the near future that >> will make this a bit easier. >> >> later, >> >> Peter. I have had good success setting the following my /etc/sysctl.conf on the hosting machine: net.link.tap.up_on_open=1 It allows me to to run a cycle of: bhyveload bhyve bhvyectl --destroy To keep virtual machines happy. -Kurt