From owner-dev-commits-src-all@freebsd.org Tue Jul 6 15:00:17 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7DEF1659504; Tue, 6 Jul 2021 15:00:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GK5MP338Hz3JZ0; Tue, 6 Jul 2021 15:00:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 52B281B87E; Tue, 6 Jul 2021 15:00:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 166F0HYV010996; Tue, 6 Jul 2021 15:00:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 166F0HAN010990; Tue, 6 Jul 2021 15:00:17 GMT (envelope-from git) Date: Tue, 6 Jul 2021 15:00:17 GMT Message-Id: <202107061500.166F0HAN010990@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 2b2c460d7bb8 - main - etc/ttys: add xen console MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2b2c460d7bb856a069047583a55a60976cd375a4 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2021 15:00:17 -0000 The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=2b2c460d7bb856a069047583a55a60976cd375a4 commit 2b2c460d7bb856a069047583a55a60976cd375a4 Author: Julien Grall AuthorDate: 2015-10-29 14:22:35 +0000 Commit: Mitchell Horne 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 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