diff --git a/share/man/man4/vmm.4 b/share/man/man4/vmm.4 --- a/share/man/man4/vmm.4 +++ b/share/man/man4/vmm.4 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 19, 2013 +.Dd May 11, 2013 .Dt VMM 4 .Os .Sh NAME @@ -81,6 +81,16 @@ and .Va pptdevs3 variables can be used for additional entries. +.Sh LOADER TUNABLES +Tunables can be set at the +.Xr loader 8 +prompt before booting the kernel or stored in +.Xr loader.conf 5 . +.Bl -tag -width indent +.It Va hw.vmm.maxcpu +Maximum number of vCPUs. +Default is the number of active CPUs in the system. +.El .Sh EXAMPLES Reserve three PCI devices for use by the hypervisor: bus 10 slot 0 function 0, bus 6 slot 5 function 0, and bus 6 slot 5 function 1. diff --git a/usr.sbin/bhyve/bhyve.8 b/usr.sbin/bhyve/bhyve.8 --- a/usr.sbin/bhyve/bhyve.8 +++ b/usr.sbin/bhyve/bhyve.8 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 5, 2023 +.Dd May 11, 2023 .Dt BHYVE 8 .Os .Sh NAME @@ -133,7 +133,6 @@ and .Ar threads is 1. -The current maximum number of guest virtual CPUs is 16. If .Ar numcpus is not specified then it will be calculated from the other arguments. @@ -147,6 +146,12 @@ If a .Ar setting is specified more than once the last one has precedence. +.Pp +The default maximum number of guest virtual CPUs equals to number of active +CPUs in the system. +See +.Xr vmm 4 +for information on changing it. .It Fl D Destroy the VM on guest initiated power-off. .It Fl e