summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolivier <olivier@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2020-10-30 00:03:59 +0000
committerolivier <olivier@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2020-10-30 00:03:59 +0000
commit6b0e53c2baca5e0b514239340835ab6e852fdd5f (patch)
tree453443d0d65e2cc53d12c3002e39c2ecd5d21e2e
parentc837fbcb487ffa4903338a2099ebd6f000fcb3e7 (diff)
downloadfreebsd-6b0e53c2baca5e0b514239340835ab6e852fdd5f.tar.gz
freebsd-6b0e53c2baca5e0b514239340835ab6e852fdd5f.tar.bz2
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 git-svn-id: http://svn.freebsd.org/base/head@367152 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
-rw-r--r--usr.sbin/bhyve/smbiostbl.c12
1 files 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
};