Hi,
Have you copied your compiled kernel out of the vm (domU) to the XenServer Host Sytsem (dom0) and set the appropriate pv params?
I have just tried to paravirtualize a fresh FreeBSD 8.0 (i386) installation based on the info from Mike Kaganski and Gian Paolo in this thread, which works fine for me. Here is what I have done step-by-step:
* created a new VM via the "other install media" template
* installed FreeBSD from CD (virtual machine runs in HVM/emulated mode)
* compiled a new kernel:
* copied the kernel to xenserver:
* edited /etc/fstab and changed all "ad0" to "xbd0" (which can be done in vi via ":%s/ad0/xbd0/g")
* edited /etc/ttys to include the line:
On the xenserver I have done:
* renamed the copied kernel:
* set the bootmode from HVM to paravirtualized:
* set appropriate parameters:
And then rebooted the vm which comes up whithout trouble.
This article is from the Citrix forum: http://forums.citrix.com/thread.jspa?threadID=257379&start=15&tstart=0. I added only the path to the kernel.
Have you copied your compiled kernel out of the vm (domU) to the XenServer Host Sytsem (dom0) and set the appropriate pv params?
I have just tried to paravirtualize a fresh FreeBSD 8.0 (i386) installation based on the info from Mike Kaganski and Gian Paolo in this thread, which works fine for me. Here is what I have done step-by-step:
* created a new VM via the "other install media" template
* installed FreeBSD from CD (virtual machine runs in HVM/emulated mode)
* compiled a new kernel:
Code:
root@freebsd-vm# cd /usr/src
root@freebsd-vm# make kernel KERNCONF=XEN
* copied the kernel to xenserver:
Code:
root@freebsd-vm# scp /boot/kernel/kernel <xenserver-ip>:/root
* edited /etc/fstab and changed all "ad0" to "xbd0" (which can be done in vi via ":%s/ad0/xbd0/g")
* edited /etc/ttys to include the line:
Code:
xc0 "/usr/libexec/getty Pc" vt100 on secure
On the xenserver I have done:
* renamed the copied kernel:
Code:
root@xenserver# mkdir /boot/guest/
root@xenserver# mv /root/kernel /boot/guest/freebsd-8.2-xen-kernel
* set the bootmode from HVM to paravirtualized:
Code:
root@xenserver# xe vm-list (note the UUID of the freebsd vm)
root@xenserver# xe vm-param-set uuid=vm-uuid HVM-boot-policy=""
* set appropriate parameters:
Code:
root@xenserver# xe vm-param-set uuid=vm-uuid PV-kernel="/boot/guest/freebsd-8.2-xen-kernel"
root@xenserver# xe vm-param-set uuid=vm-uuid PV-args="boot_vervose=1,vfs.root.mountfrom=ufs:/dev/xbd0s1a,kern.hz=100"
And then rebooted the vm which comes up whithout trouble.
This article is from the Citrix forum: http://forums.citrix.com/thread.jspa?threadID=257379&start=15&tstart=0. I added only the path to the kernel.