Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2013 11:07:10 -0400
From:      Kurt Lidl <lidl@pix.net>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: making bhyve 100% silent
Message-ID:  <51CDA69E.9040407@pix.net>
In-Reply-To: <CAGBxaX=ASm7Sw%2Boa0psLZ=BPEyuRwJiq2WuE8Fs%2BG=LB7q=dTg@mail.gmail.com>
References:  <CAGBxaX=ASm7Sw%2Boa0psLZ=BPEyuRwJiq2WuE8Fs%2BG=LB7q=dTg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <grehan at freebsd.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51CDA69E.9040407>