From owner-dev-commits-src-all@freebsd.org Mon Aug 16 09:04:13 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 CBFDB6701A5; Mon, 16 Aug 2021 09:04:13 +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 4Gp7Wd3H1Qz3Qxq; Mon, 16 Aug 2021 09:04:13 +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 E5DCC26C84; Mon, 16 Aug 2021 09:04:12 +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 17G94CFx069472; Mon, 16 Aug 2021 09:04:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17G94CER069471; Mon, 16 Aug 2021 09:04:12 GMT (envelope-from git) Date: Mon, 16 Aug 2021 09:04:12 GMT Message-Id: <202108160904.17G94CER069471@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 34b945ccf636 - stable/13 - bhyve.8: Clean up virtio console device backends description MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 34b945ccf636386478a63bc3913ac044db671426 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: Mon, 16 Aug 2021 09:04:13 -0000 The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=34b945ccf636386478a63bc3913ac044db671426 commit 34b945ccf636386478a63bc3913ac044db671426 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-04-18 22:23:26 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-08-16 08:59:48 +0000 bhyve.8: Clean up virtio console device backends description MFC after: 2 weeks (cherry picked from commit 3f4c771f64e816750de08ab6fd7e7bf29398f5fb) --- usr.sbin/bhyve/bhyve.8 | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/usr.sbin/bhyve/bhyve.8 b/usr.sbin/bhyve/bhyve.8 index 06356a64f596..88be882039c4 100644 --- a/usr.sbin/bhyve/bhyve.8 +++ b/usr.sbin/bhyve/bhyve.8 @@ -509,9 +509,14 @@ The host device must have been reserved at boot-time using the loader variable as described in .Xr vmm 4 . .Pp -Virtio console devices: -.Bl -tag -width 10n -.It Li port1= Ns Pa /path/to/port1.sock Ns ,anotherport= Ns Pa ... +Virtio console device backends: +.Bl -bullet +.Sm off +.It +.Cm port1= Ns Ar /path/to/port1.sock Ns Op Cm ,port Ns Ar N Cm \&= Ns Ar /path/to/port2.sock No \~ Ar ... +.Sm on +.El +.Pp A maximum of 16 ports per device can be created. Every port is named and corresponds to a Unix domain socket created by .Nm . @@ -519,7 +524,7 @@ Every port is named and corresponds to a Unix domain socket created by accepts at most one connection per port at a time. .Pp Limitations: -.Bl -bullet -offset 2n +.Bl -bullet -offset .It Due to lack of destructors in .Nm , @@ -527,12 +532,13 @@ sockets on the filesystem must be cleaned up manually after .Nm exits. .It -There is no way to use the "console port" feature, nor the console port +There is no way to use the +.Dq console port +feature, nor the console port resize at present. .It Emergency write is advertised, but no-op at present. .El -.El .Pp Framebuffer devices: .Bl -tag -width 10n