aboutsummaryrefslogtreecommitdiff
path: root/emulators/xen-kernel
diff options
context:
space:
mode:
authorRoger Pau Monné <royger@FreeBSD.org>2020-05-04 08:43:41 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2020-05-04 08:43:41 +0000
commit6dff577bd6912ba5de46a8a722f4b80438c7ebcd (patch)
tree1377ecf9958696e71cbc4a329ba6538ff8fbca7c /emulators/xen-kernel
parente3727ee1069e427032bf6064e5da590bdf7839de (diff)
downloadports-6dff577bd6912ba5de46a8a722f4b80438c7ebcd.tar.gz
ports-6dff577bd6912ba5de46a8a722f4b80438c7ebcd.zip
Notes
Diffstat (limited to 'emulators/xen-kernel')
-rw-r--r--emulators/xen-kernel/pkg-message15
1 files changed, 13 insertions, 2 deletions
diff --git a/emulators/xen-kernel/pkg-message b/emulators/xen-kernel/pkg-message
index 37683720d077..8fa7bcd18dbd 100644
--- a/emulators/xen-kernel/pkg-message
+++ b/emulators/xen-kernel/pkg-message
@@ -6,15 +6,26 @@ Please add the following entries in order to boot the xen kernel
In /etc/sysctl.conf:
vm.max_wired=-1
+Or if running FreeBSD 13 or newer:
+ vm.max_user_wired=-1
+
In /etc/ttys:
- xc0 "/usr/libexec/getty Pc" xterm on secure
+ xc0 "/usr/libexec/getty Pc" xterm onifconsole secure
In /boot/loader.conf for a dom0 with 2G memory and 4 vcpus:
xen_kernel="/boot/xen"
xen_cmdline="dom0_mem=2048M dom0_max_vcpus=4 dom0=pvh com1=115200,8n1 guest_loglvl=all loglvl=all"
Add to the above xen_cmdline in order to activate the serial console:
- console=com1
+ console=vga,com1
+
+Note that you will have to enable multicons on FreeBSD if you want to get
+output on both the serial and the VGA consoles. The following should be added
+to /boot/loader.conf in that case:
+ boot_multicons="YES"
+ boot_serial="YES"
+ console="comconsole,vidconsole"
+
EOM
}
]