From owner-freebsd-virtualization@FreeBSD.ORG Fri Jun 28 06:01:23 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 032F4190 for ; Fri, 28 Jun 2013 06:01:23 +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 BCC031459 for ; Fri, 28 Jun 2013 06:01:22 +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 4B69F11C6E; Fri, 28 Jun 2013 16:01:21 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BMZ47913 (AUTH peterg@ptree32.com.au); Fri, 28 Jun 2013 16:01:20 +1000 Message-ID: <51CD26AE.4050806@freebsd.org> Date: Thu, 27 Jun 2013 23:01:18 -0700 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: Aryeh Friedman Subject: Re: making bhyve 100% silent References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org 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 06:01:23 -0000 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.