]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix bhyve SMBIOS type 19 handling to avoid misreporting total RAM amount
authorRebecca Cran <bcran@FreeBSD.org>
Fri, 27 Nov 2020 08:00:32 +0000 (08:00 +0000)
committerRebecca Cran <bcran@FreeBSD.org>
Fri, 27 Nov 2020 08:00:32 +0000 (08:00 +0000)
commit866db2fef07ccd7facf0c7ac1bb6b05a6451e300
treecc0cf7a8b508f3162d6af62c642da505a72c04f5
parent5285d5e8e15c9b7b0e6fe38b90f36a749bbaf20e
Fix bhyve SMBIOS type 19 handling to avoid misreporting total RAM amount

This fixes the amount of memory displayed in the EDK2 UiApp to be the same
as passed on the bhyve command line. Otherwise, 8GB is displayed as 4GB,
32GB as 28GB etc.

Reviewed by: jhb, kib, rgrimes
Differential Revision: https://reviews.freebsd.org/D27348
usr.sbin/bhyve/smbiostbl.c