Reserve device ID 0016 for the CnuasGPU virtual accelerator. Signed-off-by: Weqaar Janjua <[email protected]> --- docs/specs/pci-ids.rst | 2 ++ include/hw/pci/pci.h | 1 + 2 files changed, 3 insertions(+)
diff --git a/docs/specs/pci-ids.rst b/docs/specs/pci-ids.rst index 3f3825bfe5..bda59c20cb 100644 --- a/docs/specs/pci-ids.rst +++ b/docs/specs/pci-ids.rst @@ -102,6 +102,8 @@ PCI devices (other than virtio): PCI RISC-V IOMMU device 1b36:0015 Cnuas virtual RDMA network adapter (:doc:`cnuas-vnic`) +1b36:0016 + CnuasGPU virtual accelerator (:doc:`cnuasgpu`) All these devices are documented in :doc:`index`. diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index 51b3f83514..ad74f5456e 100644 --- a/include/hw/pci/pci.h +++ b/include/hw/pci/pci.h @@ -122,6 +122,7 @@ extern bool pci_available; #define PCI_DEVICE_ID_REDHAT_UFS 0x0013 #define PCI_DEVICE_ID_REDHAT_RISCV_IOMMU 0x0014 #define PCI_DEVICE_ID_REDHAT_CNUASNIC 0x0015 +#define PCI_DEVICE_ID_REDHAT_CNUASGPU 0x0016 #define PCI_DEVICE_ID_REDHAT_QXL 0x0100 #define FMT_PCIBUS PRIx64 -- 2.43.0
