Getting it working under BHYVE follows the same general steps as https://github.com/churchers/vm-bhyve/#quick-start
- Install VM-Bhyve https://github.com/churchers/vm-bhyve/
pkg install vm-bhyve
- Create a directory for VMs. (This distribution doesn't run ZFS by default.)
mkdir -p /usr/local/vms
- Enable virtualization in the kernel and specify the VM dir (this edits
/etc/rc.conf.local
):
sysrc vm_enable="YES"
sysrc vm_dir="/usr/local/vms"
- Reboot, to enable the vmm kernel module.