freebsd-ports/emulators/xen-kernel/pkg-message
Roger Pau Monné a4dda243bb xen-kernel: update post install message
Expand the post install instructions to mention the need to add
hw.pci.mcfg=0 to /boot/loader.conf, or else FreeBSD is not going to be able
to boot as Dom0.

Approved by:	bapt
Sponsored by:	Citrix Systems R&D
2016-06-03 13:03:08 +00:00

18 lines
514 B
Text

Please add the following entries in order to boot the xen kernel
In /etc/sysctl.conf:
vm.max_wired=-1
In /etc/ttys:
xc0 "/usr/libexec/getty Pc" xterm on secure
In /boot/loader.conf for a dom0 with 2G memory and 4 vcpus:
hw.pci.mcfg=0
xen_kernel="/boot/xen"
xen_cmdline="dom0_mem=2048M dom0_max_vcpus=4 dom0pvh=1 com1=115200,8n1 guest_loglvl=all loglvl=all"
Add to the above xen_cmdline in order to activate the serial console:
console=com1
In /boot/menu.rc.local:
try-include /boot/xen.4th