Fetch
http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.3/FreeBSD-10.3-RELEASE-amd64-dvd1.iso and download it in a directory where the xen user has read access.
...
Create zfs dataset for disk:
zfs create -V 10G rpool /xen/FreeBSDHVM |
INFO:
For installation we need 2GB RAM. After installation we can use less if needed.
Installation command:
virt- install - v --name=FreeBSD10.3HVM -- ram =2048 --network bridge=<your nic> \ --disk path= /dev/zvol/dsk/rpool/xen/FreeBSDHVM ,driver=phy --vcpu=2 \ --cdrom /xen/isos/FreeBSD-10.3-RELEASE-amd64-dvd1.iso --vnc |
After running the installation step you should be able to login using a vnc client on the port specified by the result of the installation command.
if you try to connect by ssh to the FreeBSD HVM connection will time out and the log of the FreeBSD VM will have the following message.
xn_txeof: WARNING: response is -1!
To fix this you need to apply this patch
https://svnweb.freebsd.org/base?view=revision&revision=299542
# make buildkernel KERNCONF=GENERIC
# make installkernel KERNCONF=GENERIC
# reboot
Now connectivity should work as usual