git: 772837c632ec - stable/15 - bhyve.8: Correct description for -c flag, tag spdx
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Nov 2025 23:27:41 UTC
The branch stable/15 has been updated by ziaee:
URL: https://cgit.FreeBSD.org/src/commit/?id=772837c632ec9f3cb3ded33830a60a8b310c2e22
commit 772837c632ec9f3cb3ded33830a60a8b310c2e22
Author: Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-10-30 15:06:30 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-11-03 23:26:42 +0000
bhyve.8: Correct description for -c flag, tag spdx
The examples only show the usage of `-c <numcpus>`, as did the flag
description, however the -c flag supports more complex cpu topology
specifiers. These were documented correctly in SYNOPSIS, add them to
the body of the DESCRIPTION as well. Someone could go further and do
and example with using them.
MFC after: 3 days (there was a merge conflict with the date)
Event: OpenZFS Developer Summit '25
Reported by: Levi Worley <levi@gainframe.com>
(cherry picked from commit 205af037e302fbd50dabc485a89e2222cd063b9e)
---
usr.sbin/bhyve/bhyve.8 | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/usr.sbin/bhyve/bhyve.8 b/usr.sbin/bhyve/bhyve.8
index c902c265da9e..13f0d239ef40 100644
--- a/usr.sbin/bhyve/bhyve.8
+++ b/usr.sbin/bhyve/bhyve.8
@@ -1,3 +1,6 @@
+.\"
+.\" SPDX-License-Identifier: BSD-2-Clause
+.\"
.\" Copyright (c) 2013 Peter Grehan
.\" All rights reserved.
.\"
@@ -22,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd August 21, 2024
+.Dd October 28, 2025
.Dt BHYVE 8
.Os
.Sh NAME
@@ -125,7 +128,7 @@ xAPIC mode is the default setting so this option is redundant.
It will be deprecated in a future version.
.It Fl C
Include guest memory in core files.
-.It Fl c Op Ar setting ...
+.It Fl c Oo Oo Cm cpus= Oc Ns Ar numcpus Oc Ns Oo Cm ,sockets= Ns Ar n Oc Ns Oo Cm ,cores= Ns Ar n Oc Ns Oo Cm ,threads= Ns Ar n Oc
Number of guest virtual CPUs
and/or the CPU topology.
The default value for each of