From nobody Mon Oct 09 16:34:47 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S44Pg6Y8Kz4x0b0; Mon, 9 Oct 2023 16:34:47 +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 4S44Pg667Sz3YJ7; Mon, 9 Oct 2023 16:34:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696869287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WlDfEIuHT9L9UKPk+DE6fHVEMUZE6Pwr4o1G6iKqxaM=; b=rIakclRnj3v7wR+P0IsHjvQVo7Ac3KFppa/8lbOmcwUekEGAZ+Yj2LHJQjFI6NQTLuJjDd wu+cM0d5Duo9dUPaBDPnfxfULP9V/swRJyvy7PWQYpG490uYi5155+9h6QNC1mL06XwNEP 7kxB128cSCf0pb6HEAqXZvwYZnULaZfkdrf3s9oVCL7cpAfW9/0GmRsSVzKTJusl0ad+m5 3N/ssWdDJhNmWlWpvaYVUcqUW+wE83udG5p0keMh8X7D634+w2PF1N2NlwyI6W6cmSoG2N W/h7Smgoe38BLDvo7q5npVogd2NnFAD+MpWPwuEhkMJQq+Fg0cY02MyksJ0jFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696869287; a=rsa-sha256; cv=none; b=jaHAI4mFexwvhSyJRsx9WnDZaHTsx/CFsLwDEjgdejdisjD8TDIexeYA6RuicQjRO7WjZZ XZGVP0rws4CIfyR6ShB96+zT2TtB1xjQxPXRIdpANBjGv9AIHdw9UuPjBME4iqhcPilB6d 8vHG3TFLrLwOp4MJDi3/ZPRlwFr4tap1LhL+51oRB+m1reQHgxQlTlgQOAgZw/ZCTxqsq3 L8//OPXXFZexu4j8uzHtf8JawyOsD3QGiXmEmEuGPgAkVLt+7tecYNwkRnNlwucW6Uokad nAlbOWNrZd1yZXF/bAQ+02Xkgx+MJeWrV7zdua11BFXPnlqLEPEm7a3EV6NdqA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696869287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WlDfEIuHT9L9UKPk+DE6fHVEMUZE6Pwr4o1G6iKqxaM=; b=CXzwJOwoozpwnblKGk33QwtTRGYjPE7LQlBL/B5GizmrFES4HldTu4SGHaTxIcs/oZreno UCMBEZ87b0AMWoHEod+mMX6KU4aT20/XbcXdYi9S4eULTVM6vOLrDy7ss18E+48q44p8QL XCWfXXmVcCvOoK/hwV8gpmQzW/xB29sXYh9QGlSrx8ABbOzx4g2dNoj6TQx/LPfnDl91OV Een5ywNGY9vGRgM8bXSL3GAYrIX7DomVaddt6RSb/YnXegCIGveszGxkTtlp9r7Vck+N7F erhYk5MjdURLoxL4+J7rUQ+iGSKSqPo79UMgaeXIrMK8oGy5Ux14VZf+i1SdxQ== 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 4S44Pg59JCz13Pw; Mon, 9 Oct 2023 16:34:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 399GYlUn005541; Mon, 9 Oct 2023 16:34:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 399GYl34005538; Mon, 9 Oct 2023 16:34:47 GMT (envelope-from git) Date: Mon, 9 Oct 2023 16:34:47 GMT Message-Id: <202310091634.399GYl34005538@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Benedict Reuschling Subject: git: 8120190f80f2 - main - bhyve(8): Expand the -p option text with additional text and an example List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bcr X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8120190f80f2440e44615df85c64f1ea5aa97ddb Auto-Submitted: auto-generated The branch main has been updated by bcr: URL: https://cgit.FreeBSD.org/src/commit/?id=8120190f80f2440e44615df85c64f1ea5aa97ddb commit 8120190f80f2440e44615df85c64f1ea5aa97ddb Author: Felix Johnson AuthorDate: 2023-10-09 16:32:33 +0000 Commit: Benedict Reuschling 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