From nobody Fri Aug 14 15:59:26 2026 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 4hM6Nt1hfYz6WyD4 for ; Fri, 14 Aug 2026 15:59:26 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hM6Nt13CJz40K8 for ; Fri, 14 Aug 2026 15:59:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786723166; 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=i88uWJGR3hSzplDpwWM9dDOD83iVPa9ziptVzufTy3E=; b=teJioOchvCrhPgjWSjMlzM/fMV+VtpmwZo3M6IwdK3t5iIevaI/ryUwFhssc0Gffz70Oyd XumvL5Cbtoxu+OF4bxzt9W4eU8MIvhbEdWAPBnM1olejsrVgJCITZMK/f+n0UCA/JEMWZy LTmaPSsxYZHi6F8JiKUciYS4IRv+YGSu3NwtoMYrXkMclqordo9bKnZP32LWC+MbJ4ZYzH CgM46qYb0fuWtPRD+eVhyg+421EdqoHN0GAyiGVjMZ1lOgvpWb9xLzUJ7UTfgMf1wFSdkg 9oen4j7Fn71+0VYLIZJBUjROUK3+6I+hnLeHogMPGQi821LkYtR/anHNreBPGA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786723166; a=rsa-sha256; cv=none; b=vBIdOxS2LA21Og3Q+jcquypp8lR0yxfz+90uAuqWbyJtOAXcgJN+ekljwWDHGdR2W54I73 b//Hf31dWbB5ajxOFdkxfBdmb2C5VhC9cIgnytYtJorn5JJ9JAk6QzCU69DVqyGt8PC2en ZKKAzHj89VXpBJsRVOEtGFrfmkrB4XWGnAjWmOLeqODJWd0WjH8p6j6T7fFrI6h5MVdd5j Q55z0SqjSh1XJuZKsJTYWlGo42MZ1la7w6YbWYXFEs3NzvL2EHwncY4cwoUU6BSTptLqtK 6GVEOCZRCZXGntVX+DpZx6+Q0HetqTII9hkI+QKkfKUjbr0zR7RMn8+Wex16zA== 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=1786723166; 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=i88uWJGR3hSzplDpwWM9dDOD83iVPa9ziptVzufTy3E=; b=C/eJ6ZV2nIpWhyYv8ptGD5+Gf9v6/TUEa+mJJEh0FVYLYwb/7cBVeHRG3ZXrkEELeYdN2M j6KCxbDBChupcfDPX61dKWM1bwe2k4C3DI3RXqzAYoz1JtHvrtS/nr2ewOGfHn13O9YZ/P 0+MfY1Gar+wbnr8qcQDPoqO9S0si0TqBRRGuExHSXM/4mTMOEVBQuY1YHzSuitzqlBrB0I HFIOvOGNCxIc8mb7wKtrrr88UyDnutaYGTZHKAb2gl71QftDsfjT+967nw2tXU7SlO/PUC IfX6aMNgWVq8dTjVkwsX2dPkHWPHMrMLHO9A+bJoPM72YIgVCYhBTVuTuGXVNQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hM6Nt04lsz13xF for ; Fri, 14 Aug 2026 15:59:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 42c7c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 14 Aug 2026 15:59:26 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Roman Bogorodskiy Subject: git: a257e2dc9c6e - main - bhyve: document missing options in bhyve_config(5) 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: novel X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a257e2dc9c6ecd3db41e1aa27a5297a0f328694a Auto-Submitted: auto-generated Date: Fri, 14 Aug 2026 15:59:26 +0000 Message-Id: <6a7f3b5e.42c7c.3c8e2d85@gitrepo.freebsd.org> The branch main has been updated by novel: URL: https://cgit.FreeBSD.org/src/commit/?id=a257e2dc9c6ecd3db41e1aa27a5297a0f328694a commit a257e2dc9c6ecd3db41e1aa27a5297a0f328694a Author: Roman Bogorodskiy AuthorDate: 2026-07-22 17:02:47 +0000 Commit: Roman Bogorodskiy CommitDate: 2026-08-14 15:58:00 +0000 bhyve: document missing options in bhyve_config(5) Document a few options that are currently supported but not covered in bhyve_config(5): - monitor - vcpu.N.cpuset - domains.N.{size,cpus,domain_policy} - console (for arm64 and riscv) MFC after: 1 week Reviewed by: bnovkov, jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D58399 --- usr.sbin/bhyve/bhyve_config.5 | 51 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bhyve/bhyve_config.5 b/usr.sbin/bhyve/bhyve_config.5 index 8ed2281f43a9..aca87bbe08b1 100644 --- a/usr.sbin/bhyve/bhyve_config.5 +++ b/usr.sbin/bhyve/bhyve_config.5 @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 10, 2026 +.Dd August 14, 2026 .Dt BHYVE_CONFIG 5 .Os .Sh NAME @@ -236,9 +236,19 @@ to store its service files, such as the checkpoint socket. Overriding this path is useful when running .Xr bhyve 8 as an unprivileged user. +.It Va monitor Ta bool Ta false Ta +Run the VM in +.Ql monitor +mode. +More details are provided in +.Xr bhyve 8 . +.It Va vcpu.N.cpuset Ta string Ta none Ta +Comma-separated host CPU IDs and ranges to which virtual CPU +.Em N +is pinned. .El .Ss x86-Specific Settings -.Bl -column "x86.vmexit_on_pause" "integer" "Default" +.Bl -column "domains.N.domain_policy" "integer" "Default" .It Sy Name Ta Sy Format Ta Sy Default Ta Sy Description .It Va x86.mptable Ta bool Ta true Ta Generate an MPTable. @@ -265,6 +275,43 @@ This allows idle guest CPUs to yield the host CPU. Force a VM exit when a guest CPU executes the .Dv PAUSE instruction. +.It Va domains.N.size Ta string Ta Ta +Guest physical memory size assigned to NUMA domain +.Em N . +The value must be formatted as described in +.Xr expand_number 3 . +If at least one NUMA domain is configured without a memory size, +the configured guest memory is split evenly across all configured domains. +.It Va domains.N.cpus Ta string Ta Ta +Comma-separated guest CPU IDs and ranges assigned to NUMA domain +.Em N . +This setting is required for each configured NUMA domain. +.It Va domains.N.domain_policy Ta string Ta Ta +Host NUMA memory allocation policy for the memory backing NUMA domain +.Em N . +The value uses the policy format accepted by +.Xr cpuset 1 +with the +.Fl n +option. +.El +.Ss arm64 and RISC-V Specific Settings +.Bl -column "console" "string" "Default" +.It Sy Name Ta Sy Format Ta Sy Default Ta Sy Description +.It Va console Ta string Ta Ta +Backend device for the console. +Supported backends are a character device pathname, +.Dq stdio , +and +.Ql tcp=ip:port . +The +.Dq stdio +backend uses standard input and output of the +.Xr bhyve 8 +process. +The +.Ql tcp=ip:port +backend listens for TCP connections. .El .Sh DEVICE SETTINGS Device settings are stored under a device node.