Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2019 13:37:46 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
To:        Rebecca Cran <rebecca@bluestop.org>
Cc:        "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>, D Scott Phillips <d.scott.phillips@intel.com>, freebsd-virtualization@freebsd.org
Subject:   Re: Updating uefi-edk2-bhyve
Message-ID:  <201903302037.x2UKbk4u006726@gndrsh.dnsmgr.net>
In-Reply-To: <08bc0aa2-1516-ba57-ed7f-47d861fd8edc@bluestop.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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@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@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903302037.x2UKbk4u006726>