cd /usr/ports/sysutils/xen-guest-tools make make install clean2. /etc/rc.conf 增加
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:
To enable integration without rebooting, run:
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.