Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2021 11:15:02 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 833b06052416 - stable/12 - bhyve.8: Clean up the slot description of -s
Message-ID:  <202108161115.17GBF24p044140@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by 0mp (doc, ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=833b06052416c18d8f21be9550a9d84edb042538

commit 833b06052416c18d8f21be9550a9d84edb042538
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-04-18 20:56:19 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-08-16 09:44:12 +0000

    bhyve.8: Clean up the slot description of -s
    
    Also, remove the macros of the nested list which contained slot,
    emulation and conf. This decreases the indention of the -s description.
    It was necessary to clean up the slot description.
    
    MFC after:      2 weeks
    
    (cherry picked from commit 234d8c470b44160fe0cbce49b972b3b19f246a89)
---
 usr.sbin/bhyve/bhyve.8 | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/usr.sbin/bhyve/bhyve.8 b/usr.sbin/bhyve/bhyve.8
index 69fec13f554b..f4519e676f95 100644
--- a/usr.sbin/bhyve/bhyve.8
+++ b/usr.sbin/bhyve/bhyve.8
@@ -244,10 +244,23 @@ provides PCI bus emulation and virtual devices that can be attached to
 slots on the bus.
 There are 32 available slots, with the option of providing up to 8 functions
 per slot.
-.Bl -tag -width 10n
-.It Ar slot
-.Ar pcislot[:function]
-.Ar bus:pcislot:function
+.Pp
+The
+.Ar slot
+can be specified in one of the following formats:
+.Pp
+.Bl -bullet -compact
+.It
+.Ar pcislot
+.It
+.Sm off
+.Ar pcislot Cm \&: Ar function
+.Sm on
+.It
+.Sm off
+.Ar bus Cm \&: Ar pcislot Cm \&: Ar function
+.Sm on
+.El
 .Pp
 The
 .Ar pcislot
@@ -264,7 +277,11 @@ value defaults to 0.
 If not specified, the
 .Ar bus
 value defaults to 0.
-.It Ar emulation
+.Pp
+The
+.Ar emulation
+argument
+can be one of the following:
 .Bl -tag -width 10n
 .It Li hostbridge | Li amd_hostbridge
 .Pp
@@ -310,8 +327,10 @@ eXtensible Host Controller Interface (xHCI) USB controller.
 .It Li nvme
 NVM Express (NVMe) controller.
 .El
-.It Op Ar conf
-This optional parameter describes the backend for device emulations.
+.Pp
+The optional parameter
+.Ar conf
+describes the backend for device emulations.
 If
 .Ar conf
 is not specified, the device emulation has no backend and can be



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