[PATCH 05/13] bootstd: Correct virtio block-device handling

Tom Rini trini at konsulko.com
Tue Feb 7 17:51:50 CET 2023


On Sat, Jan 28, 2023 at 03:00:20PM -0700, Simon Glass wrote:

> At present virtio tries to attach QEMU services to a bootdev device, which
> cannot work. Add a check for this.
> 
> Also use bootdev_setup_sibling_blk() to create the bootdev device, since
> it allows the correct name to be used and bootdev_get_sibling_blk() to
> work as expected.
> 
> The bootdev is not created on sandbox since it does have a real virtio
> device and it is not possible to read blocks.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Fixes: a60f7a3e35b ("bootstd: Add a virtio bootdev")
> Reported-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230207/14444342/attachment.sig>


More information about the U-Boot mailing list