FreeBSD Dom0
This guide explains how to setup a FreeBSD Dom0 for testing purposes. In order to set it up a box with an Intel CPU that supports EPT is needed. This guide assumes that the user has already installed a plain version of FreeBSD amd64 into the box (either a RELEASE or a snapshot of HEAD or STABLE branches). In my specific case I'm using a stable/10 snapshot and the install has been done using ZFS-on-Root.
Checking out the code and updating the system
FreeBSD Dom0 support is only available as a set of patches on top of the HEAD branch. The following is needed in order to check it out:
# pkg install git # git clone git://xenbits.xen.org/people/royger/freebsd.git # cd freebsd # git checkout pvh_dom0_v6
Now the normal update world procedure from The FreeBSD Handbook should be followed.