1. Make sure that you are running a recent version of FreeBSD 10.0 that
includes bhyve support (i.e. anything after r245652).
2. Load the following kernel modules:
kldload vmm
kldload if_tap
3. Create the tap0 interface
ifconfig tap0 create
4. Download 'vmrun.sh' and 'release.iso' from
http://people.freebsd.org/~neel/bhyve
Copy both into the same directory in which you have write permission.
Please be aware that my 'release.iso' is most likely stale and you can
get the latest release.iso here:
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/10.0/
5. As root (or using sudo) execute the following commands:
./vmrun.sh vm1
6. Select default console type "vt100" or whatever is appropriate for you
Install on disk device vtbd0 (appears as a 8GB disk device)
At the end select "yes" when the "Manual Configuration" box appears.
Type in the following:
cat >> /etc/ttys << EOF
ttyu0 "/usr/libexec/getty 3wire.9600" vt100 on secure
EOF
And then reboot
7. Enjoy your virtual machine