summaryrefslogtreecommitdiffstats
path: root/docs/system
diff options
context:
space:
mode:
authorNiklas Cassel2022-06-27 14:39:57 +0200
committerKlaus Jensen2022-07-15 10:40:33 +0200
commit146b5fa505fc21baa129c7538936fbdd9875b6ed (patch)
tree203079c2c9c070e1420fb1310e9fc08c24a0b9b0 /docs/system
parenthw/nvme: Add trace events for shadow doorbell buffer (diff)
downloadqemu-146b5fa505fc21baa129c7538936fbdd9875b6ed.tar.gz
qemu-146b5fa505fc21baa129c7538936fbdd9875b6ed.tar.xz
qemu-146b5fa505fc21baa129c7538936fbdd9875b6ed.zip
hw/nvme: fix example serial in documentation
The serial prop on the controller is actually describing the nvme subsystem serial, which has to be identical for all controllers within the same nvme subsystem. This is enforced since commit a859eb9f8f64 ("hw/nvme: enforce common serial per subsystem"). Fix the documentation, so that people copying the qemu command line example won't get an error on qemu start. Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'docs/system')
-rw-r--r--docs/system/devices/nvme.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/system/devices/nvme.rst b/docs/system/devices/nvme.rst
index aba253304e..30f841ef62 100644
--- a/docs/system/devices/nvme.rst
+++ b/docs/system/devices/nvme.rst
@@ -104,8 +104,8 @@ multipath I/O.
.. code-block:: console
-device nvme-subsys,id=nvme-subsys-0,nqn=subsys0
- -device nvme,serial=a,subsys=nvme-subsys-0
- -device nvme,serial=b,subsys=nvme-subsys-0
+ -device nvme,serial=deadbeef,subsys=nvme-subsys-0
+ -device nvme,serial=deadbeef,subsys=nvme-subsys-0
This will create an NVM subsystem with two controllers. Having controllers
linked to an ``nvme-subsys`` device allows additional ``nvme-ns`` parameters: