Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2023 16:34:47 GMT
From:      Benedict Reuschling <bcr@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8120190f80f2 - main - bhyve(8): Expand the -p option text with additional text and an example
Message-ID:  <202310091634.399GYl34005538@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bcr:

URL: https://cgit.FreeBSD.org/src/commit/?id=8120190f80f2440e44615df85c64f1ea5aa97ddb

commit 8120190f80f2440e44615df85c64f1ea5aa97ddb
Author:     Felix Johnson <felix.the.red@gmail.com>
AuthorDate: 2023-10-09 16:32:33 +0000
Commit:     Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2023-10-09 16:32:33 +0000

    bhyve(8): Expand the -p option text with additional text and an example
    
    PR:     249981
---
 usr.sbin/bhyve/bhyve.8 | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/bhyve/bhyve.8 b/usr.sbin/bhyve/bhyve.8
index f80dd54fc2c3..759a3be6454a 100644
--- a/usr.sbin/bhyve/bhyve.8
+++ b/usr.sbin/bhyve/bhyve.8
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd May 5, 2023
+.Dd October 9, 2023
 .Dt BHYVE 8
 .Os
 .Sh NAME
@@ -259,6 +259,14 @@ Pin guest's virtual CPU
 .Em vcpu
 to
 .Em hostcpu .
+Host CPUs and guest virtual CPUs are numbered starting from 0.
+A
+.Fl p
+option is required for every guest vCPU to be pinned.
+To map a 4 vCPU guest to host CPUs 12-15:
+.Bd -literal
+-p 0:12 -p 1:13 -p 2:14 -p 3:15
+.Ed
 .It Fl r Ar file
 Resume a guest from a snapshot.
 The guest memory contents are restored from



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