When I have a virtio disk attached to a qemu VM, it doesn't appear in the OVMF boot menu, so I can't boot from it. This is because the BdsGetBootTypeFromDevicePath() function in GenericBdsLib.c only works on the device path and isn't able to infer that 'PciRoot(0x0)/Pci(0x5,0x0)' is a virtio disk. It could be *any* PCI device, if the path is all you're looking at.
Should the VirtioBlk driver actually be registering a *child* of the Pci device node, such as PciRoot(0x0)/Pci(0x5,0x0)/Virtio(0), so that we can automatically work out what it is from the path? Or is there a better way? I expected to see it appear *twice* in my boot menu; once for EFI booting and once for the CSM. But neither of them appear... -- dwmw2
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512
_______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel