public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Xiaohe Yang <xh_young@163.com>
To: devel@edk2.groups.io
Subject: How does EDK2 detect virtio-blk-pci device as a boot device
Date: Thu, 11 Mar 2021 22:48:47 +0800	[thread overview]
Message-ID: <f126b81c-6002-825b-a3e0-bf474a69660e@163.com> (raw)

Hello, I am using EDK2  OvmfPkgX64 at commit 37568365, and have a 
problem. The following is the detail.


The Image disk that I use has EFI system partition, and is configured as 
a virtio-blk-pci device. Bootorder file-entry is not added in fw_cfg 
device. The log of EDK2 shows that

(1)  VirtioBlkDxe.efi is successfully loaded at DXE stage. 
BootScriptExecutorDxe drivers "was discovered but not loaded".

(2) PCI enumeration has finished at the start of BDS stage, 
virtio-blk-pci device is discovered. And one Option Rom's address is 0/0.

(3) Before entering Shell, log shows "map: No mapping found".

(4) After entering Shell, I choose “Boot From File”, the virtio-blk-pci 
device is not displayed.


So I wonder what are the requirements for UEFI to detect the 
virtio-blk-pci device as a boot device, except having EFI system partition?


Thanks,

Xiaohe.



             reply	other threads:[~2021-03-11 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11 14:48 Xiaohe Yang [this message]
2021-03-12 20:42 ` [edk2-devel] How does EDK2 detect virtio-blk-pci device as a boot device Laszlo Ersek
2021-03-17 11:10   ` xh_young

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f126b81c-6002-825b-a3e0-bf474a69660e@163.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox