svn commit: r367152 - head/usr.sbin/bhyve

Olivier Cochard olivier at FreeBSD.org
Fri Oct 30 00:04:00 UTC 2020


Author: olivier (ports committer)
Date: Fri Oct 30 00:03:59 2020
New Revision: 367152
URL: https://svnweb.freebsd.org/changeset/base/367152

Log:
  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 at FreeBSD.org
  Sponsored by:	Netflix

Modified:
  head/usr.sbin/bhyve/smbiostbl.c

Modified: head/usr.sbin/bhyve/smbiostbl.c
==============================================================================
--- head/usr.sbin/bhyve/smbiostbl.c	Thu Oct 29 23:28:39 2020	(r367151)
+++ head/usr.sbin/bhyve/smbiostbl.c	Fri Oct 30 00:03:59 2020	(r367152)
@@ -346,12 +346,12 @@ static int smbios_type1_initializer(struct smbios_stru
     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
 };
 


More information about the svn-src-all mailing list