From owner-freebsd-virtualization@freebsd.org Sat Mar 30 20:38:08 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A88BE1562403 for ; Sat, 30 Mar 2019 20:38:08 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06A7B759BB for ; Sat, 30 Mar 2019 20:37:57 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x2UKblgi006727; Sat, 30 Mar 2019 13:37:47 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x2UKbk4u006726; Sat, 30 Mar 2019 13:37:46 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201903302037.x2UKbk4u006726@gndrsh.dnsmgr.net> Subject: Re: Updating uefi-edk2-bhyve In-Reply-To: <08bc0aa2-1516-ba57-ed7f-47d861fd8edc@bluestop.org> To: Rebecca Cran Date: Sat, 30 Mar 2019 13:37:46 -0700 (PDT) CC: "Rodney W. Grimes" , D Scott Phillips , freebsd-virtualization@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 06A7B759BB X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [0.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.69)[-0.693,0]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[gndrsh.dnsmgr.net,gndrsh.dnsmgr.net]; NEURAL_SPAM_LONG(0.17)[0.174,0]; NEURAL_HAM_SHORT(-0.03)[-0.035,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.01)[ip: (0.08), ipnet: 69.59.192.0/19(0.04), asn: 13868(0.02), country: US(-0.07)] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Mar 2019 20:38:08 -0000 > 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