User Tools

Site Tools


freebsd_xen
pkg install xen
echo 'vm.max_wired=-1' >> /etc/sysctl.conf
echo 'xc0 	"/usr/libexec/getty Pc"         xterm   on  secure' >> /etc/ttys		
echo 'xen_cmdline="dom0_mem=1024M dom0_max_vcpus=1 dom0pvh=1 com1=115200,8n1 guest_loglvl=all loglvl=all console=com1,vga"' >> /boot/loader.conf
echo 'xen_kernel="/boot/xen"' >> /boot/loader.conf
echo 'hw.pci.mcfg=0' >> /boot/loader.conf
echo 'if_tap_load="YES"' >> /boot/loader.conf
echo 'xencommons_enable="YES"' >> /etc/rc.conf
echo 'cloned_interfaces="bridge0"' >> /etc/rc.conf
echo 'ifconfig_bridge0="addm hn0 SYNCDHCP"' >> /etc/rc.conf
echo 'ifconfig_hn0="up"' >> /etc/rc.conf

add

try-include /boot/xen.4th

in /boot/menu.rc

freebsd_xen.txt · Last modified: 2018/08/28 07:15 by admin