From owner-freebsd-virtualization@FreeBSD.ORG Fri Jun 28 06:19:00 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CA071ABB; Fri, 28 Jun 2013 06:19:00 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com [IPv6:2607:f8b0:400e:c02::22c]) by mx1.freebsd.org (Postfix) with ESMTP id A48C8174E; Fri, 28 Jun 2013 06:19:00 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id z10so830289pdj.31 for ; Thu, 27 Jun 2013 23:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=w52QMMbkahL6Hja09nOmYGc9ZfuE4131L5/ShMfxq38=; b=ctFWZ0cUiz6lxRDdUmbgWjalcAExiKuWuWgVSLMiwUysCygWXPVam7JdXAKNzA6WBL 5t1n33CAg4ySTp0IM5BPuRptmku6mR1g++T0K4qrQV5AzL0DkxNdOq8G99EHZpPfc0uI Sr5Bx36a2g4X5uv4H0j7VRR+Fhf4m0nE5YXdUYqWisgly4HuPsH3NTYNI74uAsjJeweC PLvVyNOZ6tovz65SVS6KMGInlp26GqkpJn3BCZN9L69/iqETBwGfyD9wB5hGIGeo7W6g GJXUcjewAhuReH+kut4D4i1VUqK6FgRT1FOIfKR3TLhdweGsCUUm4d42FeL2exgwOdUa oo/Q== MIME-Version: 1.0 X-Received: by 10.66.163.73 with SMTP id yg9mr9849197pab.77.1372400340310; Thu, 27 Jun 2013 23:19:00 -0700 (PDT) Received: by 10.68.130.133 with HTTP; Thu, 27 Jun 2013 23:19:00 -0700 (PDT) In-Reply-To: <51CD26AE.4050806@freebsd.org> References: <51CD26AE.4050806@freebsd.org> Date: Fri, 28 Jun 2013 02:19:00 -0400 Message-ID: Subject: Re: making bhyve 100% silent From: Aryeh Friedman To: Peter Grehan Content-Type: text/plain; charset=ISO-8859-1 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:19:00 -0000 removing stdio makes a 10-CURRENT guest unbootable (it freezes immediately after the boot menu) 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.