]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Allocate dynamic arrays to hold per-VCPU state.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 9 Mar 2022 23:39:08 +0000 (15:39 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 9 Mar 2022 23:39:08 +0000 (15:39 -0800)
commit7261f82156fb35d4a5e928769041c5987f700cda
tree17deaa535aab95b8dc7bab510f548d02bf60af13
parent340a293f9147a37bb71c80a767e37794ca277a28
bhyve: Allocate dynamic arrays to hold per-VCPU state.

This avoids hardcoding VM_MAXCPU in userspace.

Reviewed by: grehan
Differential Revision: https://reviews.freebsd.org/D34491
usr.sbin/bhyve/bhyverun.c