Index: head/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml =================================================================== --- head/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml +++ head/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml @@ -1432,21 +1432,20 @@ &xen; Dom0 Control Domain Setup - The emulators/xen package works with - &os; 11 amd64 binary snapshots and equivalent systems - built from source. This example assumes VNC output for - unprivileged domains which is accessed from a another system - using a tool such as net/tightvnc. + Users of &os; 11 should install the + emulators/xen-kernel47 and + sysutils/xen-tools47 packages that are + based on Xen version 4.7. Systems running on &os;-CURRENT + with at least revision r336475 or higher, can use Xen 4.11 + provided by emulators/xen-kernel411 and + sysutils/xen-tools411, respectively. - Install emulators/xen: - - &prompt.root; pkg install xen - Configuration files must be edited to prepare the host - for the Dom0 integration. An entry to - /etc/sysctl.conf disables the limit on - how many pages of memory are allowed to be wired. Otherwise, - DomU VMs with higher memory requirements will not run. + for the Dom0 integration after the Xen packages are installed. + An entry to /etc/sysctl.conf disables the + limit on how many pages of memory are allowed to be wired. + Otherwise, DomU VMs with higher memory requirements will not + run. &prompt.root; sysrc -f /etc/sysctl.conf vm.max_wired=-1 @@ -1479,9 +1478,18 @@ console is also activated and logging options are defined. + The following command is used for Xen 4.7 packages: + &prompt.root; sysrc -f /boot/loader.conf hw.pci.mcfg=0 &prompt.root; sysrc -f /boot/loader.conf xen_kernel="/boot/xen" &prompt.root; sysrc -f /boot/loader.conf xen_cmdline="dom0_mem=8192M dom0_max_vcpus=4 dom0pvh=1 console=com1,vga com1=115200,8n1 guest_loglvl=all loglvl=all" + + For Xen versions 4.11 and higher, the following command + should be used instead: + + &prompt.root; sysrc -f /boot/loader.conf hw.pci.mcfg=0 +&prompt.root; sysrc -f /boot/loader.conf xen_kernel="/boot/xen" +&prompt.root; sysrc -f /boot/loader.conf xen_cmdline="dom0_mem=8192M dom0_max_vcpus=4 dom0=pvh console=com1,vga com1=115200,8n1 guest_loglvl=all loglvl=all" Log files that &xen; creates for the Dom0 and DomU VMs are stored in /var/log/xen. This