FreeBSD 10.3 HVM
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.
FreeBSD 10.3 currently has a bug with Xen which renders connectivity useless. Install FreeBSD sources when prompted in the installation we will need them later to patch.
Create zfs dataset for disk:
|
INFO:
For installation we need 2GB RAM. After installation we can use less if needed.
Installation command:
|
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
Apply the patch to /usr/src/sys/dev/xen/netfront/netfront.c, or just search for xs_scanf and change the condition from < 0 to !=0.
Then make and install kernel as usual.
# make buildkernel KERNCONF=GENERIC
# make installkernel KERNCONF=GENERIC
# reboot
Now connectivity should work as usual