On Thu, Sep 05, 2013 at 03:20:05AM +0200, Laszlo Ersek wrote: > On 08/28/13 20:12, Laszlo Ersek wrote: > > The prefix matching logic in Match() > > [OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c] expects UEFI boot options > > to specify full (absolute) device paths. However, partial (relative) > > device paths starting with a HD() node are valid for booting. By not > > recognizing them, QemuBootOrder.c misses (and deletes) valid boot options > > that would otherwise match the user's preference. > > > > Just like BdsLibBootViaBootOption() expands such paths with the > > BdsExpandPartitionPartialDevicePathToFull() function for booting, do the > > same in QemuBootOrder.c for prefix matching. > > Ping. > > (I tested it with RHEL-6/Fedora-19/Win2k8r2sp1 installers.)
Hi Laszlo, I tested it and I'd say it works, but ... It seems to remove all enumerated devices from BootOrder which I'd like to keep some of them. The resulting boot manager entries I have is the one specified in qemu boot order .. opensuse Instead of opensuse EFI DVD/CDROM EFI FLOPPY EFI FLOPPY1 EFI NETWORK EFI Internal Shell Those entries seem derived from BdsLibEnumerateAllBootOption(). I'm not sure whether this is intended behavoir or something I was missing. I really need the EFI Shell frequently and believe that many people do, but don't know how to specify it as qemu boot order .. :( Thanks, Michael > > Thanks > Laszlo > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/edk2-devel -- Michael Chang Software Engineer Rm. B, 26F, No.216, Tun Hwa S. Rd., Sec.2 Taipei 106, Taiwan, R.O.C +886223760030 mch...@suse.com SUSE ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel