HomeFreeBSD

bhyve: Allocate dynamic arrays to hold per-VCPU state.

Description

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

(cherry picked from commit 7261f82156fb35d4a5e928769041c5987f700cda)

Details

Provenance
jhbAuthored on Mar 9 2022, 11:39 PM
Reviewer
grehan
Differential Revision
D34491: bhyve: Allocate dynamic arrays to hold per-VCPU state.
Parents
rGcc16e0f79dbf: bhyve: Make the MADT dynamically sized.
Branches
Unknown
Tags
Unknown