diff options
author | Klaus Jensen | 2020-01-13 19:12:50 +0100 |
---|---|---|
committer | Klaus Jensen | 2020-10-27 07:24:47 +0100 |
commit | c1e18246618b3401ba1769bf88d2bcdf49e947aa (patch) | |
tree | 02bb6b79d5e4676f7a41b412e00dc996719b109f /include | |
parent | hw/block/nvme: support multiple namespaces (diff) | |
download | qemu-c1e18246618b3401ba1769bf88d2bcdf49e947aa.tar.gz qemu-c1e18246618b3401ba1769bf88d2bcdf49e947aa.tar.xz 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 'include')
-rw-r--r-- | include/hw/pci/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index f19ffe6b4f..72ce649eee 100644 --- a/include/hw/pci/pci.h +++ b/include/hw/pci/pci.h @@ -106,6 +106,7 @@ extern bool pci_available; #define PCI_DEVICE_ID_REDHAT_XHCI 0x000d #define PCI_DEVICE_ID_REDHAT_PCIE_BRIDGE 0x000e #define PCI_DEVICE_ID_REDHAT_MDPY 0x000f +#define PCI_DEVICE_ID_REDHAT_NVME 0x0010 #define PCI_DEVICE_ID_REDHAT_QXL 0x0100 #define FMT_PCIBUS PRIx64 |