Bhyve: SMBIOS area too small for 65+ vCPUs

From: Rebecca Cran <rebecca_at_bsdio.com>
Date: Sun, 07 May 2023 17:12:20 UTC
I have a machine with enough cores that I'm able to run large VMs with 
up to 128 or more vCPUs.

However, it looks like bhyve's SMBIOS area is too small once we reach 65 
vCPUs since I get the following assert failure on boot:


bcran@maxamd:~/bhyve % sudo ./runbhyve.sh
fbuf frame buffer base: 0xde214e00000 [sz 16777216]
Assertion failed: (curaddr - startaddr < SMBIOS_MAX_LENGTH), function 
smbios_build, file /usr/src/usr.sbin/bhyve/smbiostbl.c, line 936.
Abort trap


 From looking through the code it appears we can't simply make it larger 
because the ACPI tables after after it.


-- 
Rebecca Cran