Updated bhyve-script for FreeBSD, FreeNAS, pfSense, OpenBSD and Linux VMs

Michael Dexter editor at callfortesting.org
Tue Nov 12 08:50:30 UTC 2013

Hello all,

I have posted an updated bhyve-script.tar to bhyve.org that collectively
includes preliminary support for amd64 FreeNAS, pfSense, OpenBSD and
Linux VMs in addition to FreeBSD 9, 10 and 11 ones.


This is all experimental and you will probably encounter flaws from a
myriad of sources such as your CPU clock speed in some cases or QA
shortcomings for want of a larger pool of beta testers.

Everything included in the set of scripts is designed to speed bhyve
testing and provide ideas for configuration possibilities.

If all requirements are met, you should be able to simply type as root:

sh vm0 provision
sh vm-hostprep.sh
sh vm0 start

... and end up with a booting FreeBSD 11 VM on a 10-BETA2 or BETA3 host.

Read the vm0 script for the documentation and customization options and
I have included helper scripts such as vm-copy.sh to quickly make copies
of a provisioned VM for stress testing.

Reminder: bhyve requires Extended Page Tables (EPT) which accompany
"POPCNT" in your dmesg and should available on any Intel "Core i*" CPU.

Feedback welcome!

Michael Dexter
bhyve Volunteer

More information about the freebsd-virtualization mailing list