Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2023 11:12:20 -0600
From:      Rebecca Cran <rebecca@bsdio.com>
To:        virtualization@FreeBSD.org
Cc:        =?UTF-8?Q?Corvin_K=c3=b6hne?= <corvink@FreeBSD.org>
Subject:   Bhyve: SMBIOS area too small for 65+ vCPUs
Message-ID:  <e4215350-2a1e-6b29-f2cd-3b3af15e4d00@bsdio.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e4215350-2a1e-6b29-f2cd-3b3af15e4d00>