summary refs log tree commit diff stats
path: root/docs/specs
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2020-01-13 19:12:50 +0100
committerKlaus Jensen <k.jensen@samsung.com>2020-10-27 07:24:47 +0100
commitc1e18246618b3401ba1769bf88d2bcdf49e947aa (patch)
tree02bb6b79d5e4676f7a41b412e00dc996719b109f /docs/specs
parent7f0f1acedf159d00684d495d7a14d52220c1d16b (diff)
downloadfocaccia-qemu-c1e18246618b3401ba1769bf88d2bcdf49e947aa.tar.gz
focaccia-qemu-c1e18246618b3401ba1769bf88d2bcdf49e947aa.zip
pci: allocate pci id for nvme
The emulated nvme device (hw/block/nvme.c) is currently using an
internal Intel device id.

Prepare to change that by allocating a device id under the 1b36 (Red
Hat, Inc.) vendor id.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'docs/specs')
-rw-r--r--docs/specs/nvme.txt23
-rw-r--r--docs/specs/pci-ids.txt1
2 files changed, 24 insertions, 0 deletions
diff --git a/docs/specs/nvme.txt b/docs/specs/nvme.txt
new file mode 100644
index 0000000000..56d393884e
--- /dev/null
+++ b/docs/specs/nvme.txt
@@ -0,0 +1,23 @@
+NVM Express Controller
+======================
+
+The nvme device (-device nvme) emulates an NVM Express Controller.
+
+
+Reference Specifications
+------------------------
+
+The device currently implements most mandatory features of NVMe v1.3d, see
+
+  https://nvmexpress.org/resources/specifications/
+
+for the specification.
+
+
+Known issues
+------------
+
+* The accounting numbers in the SMART/Health are reset across power cycles
+
+* Interrupt Coalescing is not supported and is disabled by default in volation
+  of the specification.
diff --git a/docs/specs/pci-ids.txt b/docs/specs/pci-ids.txt
index 4d53e5c7d9..abbdbca6be 100644
--- a/docs/specs/pci-ids.txt
+++ b/docs/specs/pci-ids.txt
@@ -63,6 +63,7 @@ PCI devices (other than virtio):
 1b36:000b  PCIe Expander Bridge (-device pxb-pcie)
 1b36:000d  PCI xhci usb host adapter
 1b36:000f  mdpy (mdev sample device), linux/samples/vfio-mdev/mdpy.c
+1b36:0010  PCIe NVMe device (-device nvme)
 
 All these devices are documented in docs/specs.