git: 7ca3061f84e3 - stable/13 - etc/ttys: add xen console

Mitchell Horne mhorne at FreeBSD.org
Wed Jul 21 16:09:20 UTC 2021


The branch stable/13 has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=7ca3061f84e3d6ac4368d83251bf455df93d61a3

commit 7ca3061f84e3d6ac4368d83251bf455df93d61a3
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-21 16:07:34 +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
    
    (cherry picked from commit 2b2c460d7bb856a069047583a55a60976cd375a4)
---
 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