hw/cxl: set cxl-type3 device type to PCI_CLASS_MEMORY_CXL
authorGregory Price <gourry.memverge@gmail.com>
Mon, 6 Feb 2023 17:28:09 +0000 (17:28 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 3 Mar 2023 00:13:52 +0000 (19:13 -0500)
commit2ef5063610016a75351fe3cd32879f11323d5927
tree158e36b9161c5a7a4ba6bc197dd88953c2aae716
parent9518d8bc444f63f3925f2a586adfe9010758afa7
hw/cxl: set cxl-type3 device type to PCI_CLASS_MEMORY_CXL

Current code sets to STORAGE_EXPRESS and then overrides it.

Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Gregory Price <gregory.price@memverge.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20230206172816.8201-4-Jonathan.Cameron@huawei.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/mem/cxl_type3.c