Hi Laszlo,
I have read the bug report, and confirmed that my efibootmgr possesses
the same problem.
BootCurrent: 0004
BootOrder: 0005,0000,0001,0002,0003,0004
Boot0000* EFI DVD/CDROM ACPI(a0341d0,0)PCI(1,1)ATAPI(1,0,0)
Boot0001* EFI Floppy ACPI(a0341d0,0)PCI(1,0)ACPI(60441d0,0)
Boot0002* EFI Floppy 1 ACPI(a0341d0,0)PCI(1,0)ACPI(60441d0,1)
Boot0003* EFI Network ACPI(a0341d0,0)PCI(3,0)MAC(52540076e9a3,1)
Boot0004* EFI Internal Shell MM(b,3fb0e000,3ffbdfff)
Boot0005* opensuse
HD(1,800,4e000,87f09d6f-dc40-4eaf-b90b-9c2c7d4ffdb5)File(\EFI\opensuse\grubx64.efi)
However I did not stumble into the problem. I checked with my EFI
preboot environment to make sure that virtio-blk DXE driver were
really in use to manage my disk.
> drivers
T D
D Y C I
R P F A
V VERSION E G G #D #C DRIVER NAME IMAGE NAME
== ======== = = = == == =================================== ===================
45 00000010 D - - 1 - Virtio Block Driver VirtioBlkDxe
46 00000010 ? - - - - Virtio SCSI Host Driver VirtioScsiDxe
> dh -d 45
45: Image(VirtioBlkDxe) ImageDevPath
(..3CA9-4F93-BA2E-4780ED3E03B5))DriverBinding ComponentName
ComponentName2
Driver Name : Virtio Block Driver
Image Name : FvFile(11D92DFB-3CA9-4F93-BA2E-4780ED3E03B5)
Driver Version : 00000010
Driver Type : DEVICE
Configuration : NO
Diagnostics : NO
Managing :
Ctrl[81] : PciRoot(0x0)/Pci(0x4,0x0)
> map fs0
Device mapping table
fs0 :HardDisk - Alias hd21b blk0
PciRoot(0x0)/Pci(0x4,0x0)/HD(1,GPT,87F09D6F-DC40-4EAF-B90B-9C2C7D4FFDB5,0x800,0x4E000)
Do you have any suggestions on why it cannot be reproduce on my side ?
Finally provide my virt-install options for reference.
virt-install --connect qemu:///system --name vmos123efi
--virt-type=kvm --os-type=linux --os-variant=opensuse12 --disk
path=/dev/system/vmos123efi --network bridge=br0,model=virtio
--cdrom=/home/linux/Downloads/openSUSE-12.3-DVD-x86_64.iso --vcpus=4
--ram 1024 --boot loader=/home/linux/OVMF/OVMF-f1f4721.fd
Thanks,
Michael
2013/8/27 Laszlo Ersek <[email protected]>:
> OVMF is "UEFI boot firmware for virtual machines", hence a new use case
> for efibootmgr [1] [2]. A virtual machine can have virtio-blk and
> virtio-scsi disks, and OVMF supports them with the VirtioBlkDxe and
> VirtioScsiDxe drivers. Let's recognize such disks, and produce correct
> boot options for them.
>
> [1] http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=OVMF_FAQ
> [2] http://www.linux-kvm.org/page/OVMF
>
> Posting to edk2-devel for lack of a dedicated efibootmgr list.
>
> Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=998611
>
> Laszlo Ersek (7):
> disk_info_from_fd(): get major/minor from buf.st_rdev
> disk_get_pci(): expose detected interface type
> produce virtio-blk device paths under EDD 3.0
> disk_info_from_fd(): group output parameters into struct disk_info
> disk_get_virt_pci(): generalize to arbitrary major & minor device
> numbers
> prevent out-of-bounds access with SCSI_IOCTL_GET_PCI
> produce virtio-scsi device paths under EDD 3.0
>
> src/include/disk.h | 21 +++--
> src/include/scsi_ioctls.h | 6 +-
> src/lib/disk.c | 217
> ++++++++++++++++++++++++++++++---------------
> src/lib/efi.c | 21 +++--
> src/lib/scsi_ioctls.c | 17 +++-
> 5 files changed, 191 insertions(+), 91 deletions(-)
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
------------------------------------------------------------------------------
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=58040911&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel