]> git.proxmox.com Git - mirror_qemu.git/commit
hw/pci-bridge/cxl_upstream: Move defintion of device to header.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 23 Oct 2023 16:07:54 +0000 (17:07 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Nov 2023 08:39:11 +0000 (03:39 -0500)
commit2710d49a7c8b9b117a46847c7ace5eb21d48e882
tree78667bd8e577eca9122e7c7237f1f9d1146d34b2
parentc9460561edbd8b2d4adbf1f7c5cb4ad4d210de4c
hw/pci-bridge/cxl_upstream: Move defintion of device to header.

To avoid repetition of switch upstream port specific data in the
CXLDeviceState structure it will be necessary to access the switch USP
specific data from mailbox callbacks. Hence move it to cxl_device.h so it
is no longer an opaque structure.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Message-Id: <20231023160806.13206-6-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-bridge/cxl_upstream.c
include/hw/pci-bridge/cxl_upstream_port.h [new file with mode: 0644]