FreeBSD/src 7761e9b (r348269)usr.sbin/bhyve smbiostbl.c bhyverun.h

MFC: r346717: Make bhyve SMBIOS table topology aware

When the CPU Topology was added to bhyve in r332298 the SMBIOS table was
missed, this table passes topology information to the system and was still
using the old concept of each vCPU is a socket with 1 core and 1 thread.
This code did not even try to use the old sysctl information to adjust
this data.

Correct that by building a proper SMBios table, mapping the > 254 cases to
0 per the SMBios 2.6 specification that is claimed by the structure.

Approved by:            re (kib)
DeltaFile
+11-1usr.sbin/bhyve/smbiostbl.c
+1-0usr.sbin/bhyve/bhyverun.h
+12-12 files

UnifiedSplitRaw