mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-21 23:21:58 +00:00
doc: describe QEMU virtio block device
Enhance the description of QEMU block devices * Describe how to attach a virtio-blk device. * Sort the command lines for MMC to match the other devices. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
7fe3901f67
commit
ba187bd38e
1 changed files with 12 additions and 2 deletions
|
@ -11,8 +11,8 @@ the qemu-system-<arch> command line:
|
|||
.. code-block:: bash
|
||||
|
||||
-device sdhci-pci,sd-spec-version=3 \
|
||||
-device sd-card,drive=MMC1 \
|
||||
-drive if=none,file=disk.img,format=raw,id=MMC1
|
||||
-drive if=none,file=disk.img,format=raw,id=MMC1 \
|
||||
-device sd-card,drive=MMC1
|
||||
|
||||
* NVMe
|
||||
|
||||
|
@ -36,3 +36,13 @@ the qemu-system-<arch> command line:
|
|||
-device qemu-xhci \
|
||||
-drive if=none,file=disk.img,format=raw,id=USB1 \
|
||||
-device usb-storage,drive=USB1
|
||||
|
||||
* Virtio
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
-drive if=none,file=disk.img,format=raw,id=VIRTIO1 \
|
||||
-device virtio-blk,drive=VIRTIO1
|
||||
|
||||
.. note::
|
||||
As of v2023.07 U-Boot does not have a driver for virtio-scsi-pci.
|
||||
|
|
Loading…
Reference in a new issue