bhyve currently reports each of "smbios.system.maker" and

"smbios.system.family" as " ".
This presents challenges for both humans and tools when trying to parse output
that uses those results.
The new values reported are now:
smbios.system.family="Virtual Machine"
smbios.system.maker="FreeBSD"

PR:		250728
Approved by:	grehan@FreeBSD.org
Sponsored by:	Netflix
This commit is contained in:
Olivier Cochard 2020-10-30 00:03:59 +00:00
parent 36e0a362ac
commit ac8f506b85

View File

@ -346,12 +346,12 @@ static int smbios_type1_initializer(struct smbios_structure *template_entry,
uint16_t *n, uint16_t *size);
const char *smbios_type1_strings[] = {
" ", /* manufacturer string */
"BHYVE", /* product name string */
"1.0", /* version string */
"None", /* serial number string */
"None", /* sku string */
" ", /* family name string */
"FreeBSD", /* manufacturer string */
"BHYVE", /* product name string */
"1.0", /* version string */
"None", /* serial number string */
"None", /* sku string */
"Virtual Machine", /* family name string */
NULL
};