]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Don't force an upper bound on vCPUs when parsing pinning.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 9 Mar 2022 23:39:16 +0000 (15:39 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 11 May 2022 18:51:56 +0000 (11:51 -0700)
commit27537022c5a4f3ae764c95e37a3700a65ef854a4
treefd793eb8e9992110e0c9a2be07df43125b07f261
parenta4153a7b77e8c65bb89b6623cf168833ba4ab7e3
bhyve: Don't force an upper bound on vCPUs when parsing pinning.

Even today it is possible to specify pinning for a vCPU higher than
the configured number of CPUs but lower than VM_MAXCPU without raising
an error.

Reviewed by: grehan
Differential Revision: https://reviews.freebsd.org/D34492

(cherry picked from commit fd6f92946f02b451c792bfdbc94259ff65e49969)
usr.sbin/bhyve/bhyverun.c