aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bhyve/bhyve.8
diff options
context:
space:
mode:
authorFelix Johnson <felix.the.red@gmail.com>2023-10-09 16:32:33 +0000
committerBenedict Reuschling <bcr@FreeBSD.org>2023-10-09 16:32:33 +0000
commit8120190f80f2440e44615df85c64f1ea5aa97ddb (patch)
tree54f2fc4c2273c8d3db9f500b49fc07da61114112 /usr.sbin/bhyve/bhyve.8
parent3523f0677ef514fe72710033c73cc58517b9cda8 (diff)
downloadsrc-8120190f80f2440e44615df85c64f1ea5aa97ddb.tar.gz
src-8120190f80f2440e44615df85c64f1ea5aa97ddb.zip
bhyve(8): Expand the -p option text with additional text and an example
PR: 249981
Diffstat (limited to 'usr.sbin/bhyve/bhyve.8')
-rw-r--r--usr.sbin/bhyve/bhyve.810
1 files changed, 9 insertions, 1 deletions
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