HomeFreeBSD

bhyve: Allocate mmio_hint array based on number of guest CPUs.

Description

bhyve: Allocate mmio_hint array based on number of guest CPUs.

This avoids an instance of hardcoding VM_MAXCPU in userspace.

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

(cherry picked from commit 730510dc1ab2049d707706241d9a6e73a6952a4e)

Details

Provenance
jhbAuthored on Mar 9 2022, 11:38 PM
Reviewer
grehan
Differential Revision
D34489: bhyve: Allocate mmio_hint array based on number of guest CPUs.
Parents
rG66b4bdd5addb: module_test: Fix some assignments to errno intended to be tests.
Branches
Unknown
Tags
Unknown