bhyve and serial port emulation problem

Neel Natu neelnatu at gmail.com
Thu May 1 17:29:36 UTC 2014


Hi Olivier,

On Wed, Apr 30, 2014 at 3:28 PM, Olivier Cochard-Labbé
<olivier at cochard.me> wrote:
> On Wed, Apr 30, 2014 at 7:33 PM, Neel Natu <neelnatu at gmail.com> wrote:
>>
>> Hi Olivier,
>>
>>
>> Can you share the command line options you pass the bhyve(8)?
>>
>
> Hi Neel,
>
> sure, here it is:
>
> bhyveload -m 256M -d /tmp/BSDRP/BSDRP_1 -c /dev/nmdm1A BSDRP_1
> bhyve -c 1 -m 256M -A -H -P -s 0:0,hostbridge -s 0:1,lpc -s
> 2:0,virtio-net,tap0,mac=58:9c:fc:01:00:01 -s
> 1:0,virtio-blk,/tmp/BSDRP/BSDRP_1 -l com1,/dev/nmdm1A BSDRP_1
>

The UPDATING entry in r264175 describes how to fix this:
http://svnweb.freebsd.org/base?view=revision&revision=264175

Briefly, you will now need to change your /etc/ttys to look like this:
ttyu0   "/usr/libexec/getty 3wire" vt100   on secure

If your virtual machine has an older world then your /etc/gettytab
will not have the entry for "3wire" and you may want to use
"3wire.9600" instead.

best
Neel

> Regards,
>
> Olivier


More information about the freebsd-virtualization mailing list