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 @@ -1452,9 +1452,9 @@ 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 + based on Xen version 4.7. Systems running on &os;-12.0 or + newer can use Xen 4.11 provided by + emulators/xen-kernel411 and sysutils/xen-tools411, respectively. Configuration files must be edited to prepare the host @@ -1483,7 +1483,7 @@ Add an entry for the &xen; console to /etc/ttys: - &prompt.root; echo 'xc0 "/usr/libexec/getty Pc" xterm on secure' >> /etc/ttys + &prompt.root; echo 'xc0 "/usr/libexec/getty Pc" xterm onifconsole secure' >> /etc/ttys Selecting a &xen; kernel in /boot/loader.conf activates the Dom0. @@ -1498,24 +1498,24 @@ 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 if_tap_load="YES" &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 if_tap_load="YES" &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 - directory does not exist by default and must be - created. + + Log files that &xen; creates for the DomU VMs + are stored in /var/log/xen. Please + be sure to check the contents of that directory if + experiencing issues. + - &prompt.root; mkdir -p /var/log/xen -&prompt.root; chmod 644 /var/log/xen - &xen; provides a boot menu to activate and de-activate the hypervisor on demand in /boot/menu.rc.local: @@ -1576,7 +1576,7 @@ retrieved with &man.fetch.1; and saved locally in a file called freebsd.iso. - &prompt.root; fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.3/FreeBSD-10.3-RELEASE-amd64-bootonly.iso -o freebsd.iso + &prompt.root; fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/12.0/FreeBSD-12.0-RELEASE-amd64-bootonly.iso -o freebsd.iso A ZFS volume of 20 GB called xendisk0 is created to serve as the disk