]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r272007
authorgrehan <grehan@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Sep 2014 23:09:35 +0000 (23:09 +0000)
committergrehan <grehan@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Sep 2014 23:09:35 +0000 (23:09 +0000)
commit43d941bb01a2fa5d6fea6446f31a5b1fdf09f1e9
tree2fc36b13c75ecdfe6f32289185a53122918e92de
parentad171d2580c56ad7b357abfdd3af70b5f3fcfa11
MFC r272007

Correct display of bhyve SMBIOS UUIDs with dmidecode by bumping the version.

The mixed little/big-endianness of SMBIOS UUIDs was clarified in v2.6
of the SMBIOS spec. dmidecode uses the reported version of SMBIOS to
determine the layout and what to byte-swap.

bhyve's SMBIOS reported as 2.4 though it implemented the 2.6-style of
memory layout. This resulted in dmidecode reporting a different
UUID than one passed in via the -U option.

Fix by exporting a version of 2.6.

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@272147 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/bhyve/smbiostbl.c