Received: from eggs.gnu.org ([2001:4830:134:3::10]:49909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euGBf-00019A-VR for qemu-devel@nongnu.org; Fri, 09 Mar 2018 06:27:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euGBc-0003pj-RV for qemu-devel@nongnu.org; Fri, 09 Mar 2018 06:27:47 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:44624 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1euGBc-0003pc-Mf for qemu-devel@nongnu.org; Fri, 09 Mar 2018 06:27:44 -0500 Date: Fri, 9 Mar 2018 12:27:23 +0100 From: Kashyap Chamarthy Message-ID: <20180309112723.deci6fc2k66pbwdj@eukaryote> References: <20180307144951.d75lo5rgzi2vf27z@eukaryote> <90ba320e-2a05-8962-dc6b-252b3e15d1b7@redhat.com> <20180308154730.GZ4718@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC] Defining firmware (OVMF, et al) metadata format & file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek Cc: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= , qemu-devel@nongnu.org, libvir-list@redhat.com, kraxel@redhat.com, Ard Biesheuvel On Thu, Mar 08, 2018 at 09:47:27PM +0100, Laszlo Ersek wrote: > On 03/08/18 16:47, Daniel P. Berrang=E9 wrote: > > On Thu, Mar 08, 2018 at 12:10:30PM +0100, Laszlo Ersek wrote: [...] > >> For OVMF (x86), I guess the initial set of properties should come fr= om > >> the "-D FOO[=3DBAR]" build flags that OVMF currently supports. (The = list > >> might grow or change incompatibly over time, so this is just a raw > >> starter idea.) > >=20 > > I really don't want to see us using firmware implementation specific > > property names in these files. It means libvirt will require knowledg= e > > of what each different firmware's property names mean. > >=20 > > We need to have some core standardized set of property names that can > > be provided by any firmware implementation using the same terminology= . > >=20 > > If we want to /also/ provide some extra firmeware-specific property > > names that would be ok for informative purposes, but when lbivirt is > > picking which firmware file to use, it would only ever look at the > > standardized property names/values. >=20 > This is a reasonable requirement from the libvirt side. >=20 > Unfortunately (or not), it requires someone (or a tight group of people= ) > to collect the features of all virtual firmwares in existence, and > extract a common set of properties that maps back to each firmware one > way or another.=20 Hmm, if people consider the above worthwhile (no clue how much time & investigation it takes to arrive at a common set of properties) maybe slowly we should start collecting such a page? From a quick look up, list of open source firmware implementations I found so (besides OVMF & ArmVirt): - OpenBIOS - SmartFirmware - OpenBoot - CoreBoot - U-Boot - SLOF - ... Source: https://en.wikipedia.org/wiki/OpenBIOS I notice you said "virtual firmwares". I couldn't find such a list from my look up. Hmm, I also wonder if the "arriving at a common set of properties across existing virtual firmwares" is an absolute blocker. > This is not unusual (basically this is how all standards > bodies work that intend to codify existing practice), it just needs a > bunch of work and coordination. We'll have to maintain a registry. >=20 > Personally I can't comment on anything else than OVMF and the ArmVirt > firmwares. >=20 > Thanks, > Laszlo --=20 /kashyap