Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2021 16:09:20 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 7ca3061f84e3 - stable/13 - etc/ttys: add xen console
Message-ID:  <202107211609.16LG9KKd067521@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mhorne:

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

commit 7ca3061f84e3d6ac4368d83251bf455df93d61a3
Author:     Julien Grall <julien@xen.org>
AuthorDate: 2015-10-29 14:22:35 +0000
Commit:     Mitchell Horne <mhorne@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107211609.16LG9KKd067521>