diff options
| author | Heinrich Schuchardt <[email protected]> | 2023-07-30 19:39:00 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2023-08-03 09:21:02 +0200 |
| commit | ba187bd38e219932f2fd6fe91bf47e3288bb54ee (patch) | |
| tree | 75ed8e320131831264151c0a16e5ce6f4acad93d | |
| parent | 7fe3901f671aac26ad580ef09f055811d19ae5a5 (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
| -rw-r--r-- | doc/board/emulation/blkdev.rst | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/board/emulation/blkdev.rst b/doc/board/emulation/blkdev.rst index dc83a005268..f187ff22a86 100644 --- a/doc/board/emulation/blkdev.rst +++ b/doc/board/emulation/blkdev.rst @@ -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. |
