git: 2b2c460d7bb8 - main - etc/ttys: add xen console
Mitchell Horne
mhorne at FreeBSD.org
Tue Jul 6 15:00:17 UTC 2021
The branch main has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=2b2c460d7bb856a069047583a55a60976cd375a4
commit 2b2c460d7bb856a069047583a55a60976cd375a4
Author: Julien Grall <julien at xen.org>
AuthorDate: 2015-10-29 14:22:35 +0000
Commit: Mitchell Horne <mhorne at FreeBSD.org>
CommitDate: 2021-07-06 14:53:10 +0000
etc/ttys: add xen console
Xen VMs get a simulated serial device meant for use as a console. Often
an xterm or other advanced terminal is used, so use xterm as the type.
Depending on configuration, FreeBSD on Xen for amd64 may instead use an
emulated serial port, but the virtual console may also be available.
Submitted by: Elliott Mitchell <ehem+freebsd at m5p.com>
Reviewed by: imp (slightly earlier version)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D29873
---
sbin/init/ttys | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sbin/init/ttys b/sbin/init/ttys
index 4a5ee50dba59..a2f5b8975ecd 100644
--- a/sbin/init/ttys
+++ b/sbin/init/ttys
@@ -47,5 +47,7 @@ ttyu2 "/usr/libexec/getty 3wire" vt100 onifconsole secure
ttyu3 "/usr/libexec/getty 3wire" vt100 onifconsole secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure
+# Xen Virtual console
+xc0 "/usr/libexec/getty Pc" xterm onifconsole secure
# RISC-V HTIF console
rcons "/usr/libexec/getty std.9600" vt100 onifconsole secure
More information about the dev-commits-src-all
mailing list