]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/LegacyBbs: Add boot entries for VirtIO and NVME devices
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 26 Jun 2019 11:37:40 +0000 (12:37 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 26 Jun 2019 13:06:44 +0000 (15:06 +0200)
commit16ec209a4183e61bf55d68ec2a53104e568941cd
tree03772ba44c96421fafbfe295f22bb4414bac4cbf
parent0ca62507681309be8247675c8fc500fb94f928ed
OvmfPkg/LegacyBbs: Add boot entries for VirtIO and NVME devices

Iterate over the available block devices in much the same way as
BdsLibEnumerateAllBootOption() does, but limiting to those devices
which are PCI-backed, which can be represented in the BbsTable.

One day we might need to extend the BbsTable to allow us to distinguish
between different NVMe namespaces on a device.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20190626113742.819933-3-dwmw2@infradead.org>
OvmfPkg/Csm/LegacyBiosDxe/LegacyBbs.c