----- Original Message -----
> 30.07.2019 18:57, dann frazier wrote:
> > On Wed, Jul 17, 2019 at 02:45:50PM +0300, Michael Tokarev wrote:
> >> 17.07.2019 11:13, Kashyap Chamarthy wrote:
> >>> Package: ovmf
> >>> Version: 0~20181115.85588389-3
> >>>
> >>> From version 4.1 (due in August 2019) onwards, QEMU ships the so-called
> >>> firmware "descriptor files". These are small JSON files that describe
> >>> details about UEFI firmware binaries — such as the fimware binary path,
> >>> its architecture, supported machine type, NVRAM template and so forth.
> >>
> >> I'm thinking maybe we can use complete qemu tarball with all the various
> >> ROM sources, and build these templates together with other EKD2 binaries
> >> within qemu.. dunno.
> >
> > Michael,
> > Do you have any objection to edk2 supplying these files under
> > /usr/share/qemu/firmware in the meantime?
>
> I don't have any objection about this.
> Do you really mean ../qemu/FIRMWARE, or just ../qemu ?
I think he indeed meant: /usr/share/qemu/firmware, as per the
firmware.json[1] spec in QEMU:
[...]
# It is recommended to create firmware JSON files (each containing a
# single @Firmware root element) with a double-digit prefix, for example
# "50-ovmf.json", "50-seabios-256k.json", etc, so they can be sorted in
# predictable order. The firmware JSON files should be searched for in
# three directories:
#
# - /usr/share/qemu/firmware -- populated by distro-provided firmware
# packages (XDG_DATA_DIRS covers
# /usr/share by default),
#
# - /etc/qemu/firmware -- exclusively for sysadmins' local additions,
#
# - $XDG_CONFIG_HOME/qemu/firmware -- exclusively for per-user local
# additions (XDG_CONFIG_HOME
# defaults to $HOME/.config).
#
# Top-down, the list of directories goes from general to specific.
[...]
[1] https://git.qemu.org/?p=qemu.git;a=blob;f=docs/interop/firmware.json