1. 在ports下安装xen-guest-tools
cd /usr/ports/sysutils/xen-guest-tools make make install clean2. /etc/rc.conf 增加
xenguest_enable=”YES”
3. 启动xenguest
/usr/local/etc/rc.d/xenguest start
以下是源文地址:http://blog.blazis.com/how-to-install-xenserver-tools-on-freebsd/
There’s plenty of conflicting, outdated information floating around as to how to install XenServer Tools on a FreeBSD guest.
Fortunately, it’s no longer necessary to manually copy and create a bunch of magic files and scripts—XenServer integration is now only a port away.
-
Ensure your kernel is built with the following:
options XENHVM # Xen HVM kernel infrastructure
device xenpci # Xen HVM hypervisor services driver -
Install the sysutils/xe-guest-utilities port.
(This will install sysutils/xen-guest-tools as a dependency.) -
Add the following line to /etc/rc.conf:
xenguest_enable=”YES” -
To enable integration without rebooting, run:
/usr/local/etc/rc.d/xenguest start
As soon as you run the above command, the XenCenter UI should immediately update to reflect the availability of the graceful Shut Down, Reboot, and Suspend actions.