[PATCH v2 6/6] docs: nvme: Update QEMU command for testing
Simon Glass
sjg at chromium.org
Fri May 29 11:58:02 CEST 2026
Hi Denis,
On 2026-05-29T03:44:35, None <dmukhin at ford.com> wrote:
> docs: nvme: Update QEMU command for testing
>
> Switch to x86-64 QEMU machine for NVMe testing in the docs.
> Also, add format=raw for empty NVMe disks QEMU command line.
>
> Signed-off-by: Denis Mukhin <dmukhin at ford.com>
>
> doc/develop/driver-model/nvme.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> diff --git a/doc/develop/driver-model/nvme.rst b/doc/develop/driver-model/nvme.rst
> @@ -95,4 +95,4 @@ Example command line to call QEMU x86 below with emulated NVMe device:
>
> .. code-block:: bash
>
> - $ ./qemu-system-i386 -drive file=nvme.img,if=none,id=drv0 -device nvme,drive=drv0,serial=QEMUNVME0001 -bios u-boot.rom
> + $ qemu-system-x86_64 -nographic -drive file=nvme.img,format=raw,if=none,id=drv0 -device nvme,drive=drv0,serial=QEMUNVME0001 -bios u-boot.rom
The commit message lists two changes but the diff also adds
-nographic. Please mention it, or drop it if not required.
Also, format=raw is needed for any raw image to silence QEMU's probing
warning, not specifically for empty disks. Something like "specify
format=raw explicitly to avoid QEMU's raw-format auto-detection
warning" would read better.
Regards,
Simon
More information about the U-Boot
mailing list