Updating uefi-edk2-bhyve

Rodney W. Grimes freebsd-rwg at gndrsh.dnsmgr.net
Sat Mar 30 20:38:08 UTC 2019


> On 3/30/19 1:08 AM, Rodney W. Grimes wrote:
> >
> > I do not know what the above is, could you elaborate for me?
> > What is OVMF and what is its relation to bhyve?
> 
> 
> OVMF is the Open Virtual Machine Firmware: it's open source (BSD 
> licensed) firmware for virtual machines. Currently, that means Qemu/KVM. 
> It has been ported to run under Bhyve too.

So it is a edk2 implementation, and can you point me at
the bhyve version of it?  The Qemu/KVM version is rather
not relavent to this discussion as that would not work due
to core vmm implementation differences.

> > I have to assume this is with ed2k loaded, but I do not
> > know you are showing me the SMBIOS string value or some
> > other bios version value.  THere are compliance levels
> > associated with SMBIOS.
> 
> 
> I guess you mean edk2 (efi development kit 2), not ed2k?
Yes, I have been in Prague for 2 weeks and rather sleep
deprived while attending netdev and IETF/104.

> I'm showing you the SMBIOS values for the BIOS section.
We need to be careful in what one calls the "version"
when doing this.

> Another example: on my desktop system, 'dmidecode' shows:
> 
> 
> root at photon:/usr/home/bcran # dmidecode -t bios
> # dmidecode 3.2
> # SMBIOS entry point at 0x7949f000
> Found SMBIOS entry point in EFI, reading table from /dev/mem.
> SMBIOS 3.0 present.
  ^^^^^^^^^^^   This is the critical version, this is the
version of the SMBIOS/dmitables implemented by the bios.

Bhyve should be reporting a SMBios major 2 minor 6 (aka 2.6),
see usr.sbin/bhyve/smbiostbl.c function smbios_ep_initializer.


> Handle 0x0000, DMI type 0, 24 bytes
> BIOS Information
>  ??????? Vendor: American Megatrends Inc.
>  ??????? Version: 1701
>  ??????? Release Date: 01/09/2019
>  ??????? Address: 0xF0000
>  ??????? Runtime Size: 64 kB
>  ??????? ROM Size: 16 MB
>  ??????? Characteristics:
>  ??????????????? PCI is supported
>  ??????????????? APM is supported
>  ??????????????? BIOS is upgradeable
>  ??????????????? BIOS shadowing is allowed
>  ??????????????? Boot from CD is supported
>  ??????????????? Selectable boot is supported
>  ??????????????? BIOS ROM is socketed
>  ??????????????? EDD is supported
>  ??????????????? 5.25"/1.2 MB floppy services are supported (int 13h)
>  ??????????????? 3.5"/720 kB floppy services are supported (int 13h)
>  ??????????????? 3.5"/2.88 MB floppy services are supported (int 13h)
>  ??????????????? Print screen service is supported (int 5h)
>  ??????????????? 8042 keyboard services are supported (int 9h)
>  ??????????????? Serial services are supported (int 14h)
>  ??????????????? Printer services are supported (int 17h)
>  ??????????????? ACPI is supported
>  ??????????????? USB legacy is supported
>  ??????????????? BIOS boot specification is supported
>  ??????????????? Targeted content distribution is supported
>  ??????????????? UEFI is supported
>  ??????? BIOS Revision: 5.13
                          ^^^^^^ This is an arbitrary value
that a vendor sets.  We presently report 1.0 for the legacy bios
version string, see usr.sbin/bhyyve/smbiostbl.c smbios_type1_strings[]

> -- 
> Rebecca Cran
-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the freebsd-virtualization mailing list