Hi Denis,

On 2026-05-29T03:44:35, None <[email protected]> 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 <[email protected]>
>
> 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

Reply via email to