git: 8120190f80f2 - main - bhyve(8): Expand the -p option text with additional text and an example
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Oct 2023 16:34:47 UTC
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