making bhyve 100% silent
Kurt Lidl
lidl at pix.net
Fri Jun 28 15:07:12 UTC 2013
> 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
More information about the freebsd-virtualization
mailing list