From 461b8ab8329fcc35bbab21bde35406db00ddf3ae Mon Sep 17 00:00:00 2001 From: olivier Date: Fri, 30 Oct 2020 00:03:59 +0000 Subject: [PATCH] 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 --- usr.sbin/bhyve/smbiostbl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/usr.sbin/bhyve/smbiostbl.c b/usr.sbin/bhyve/smbiostbl.c index 210a1e5bd7e..a58228c34c1 100644 --- a/usr.sbin/bhyve/smbiostbl.c +++ b/usr.sbin/bhyve/smbiostbl.c @@ -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 }; -- 2.45.0