hw/cxl/mailbox: change CCI cmd set structure to be a member, not a reference
authorGregory Price <gourry.memverge@gmail.com>
Thu, 23 May 2024 17:44:41 +0000 (10:44 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Jul 2024 21:16:04 +0000 (17:16 -0400)
commit05b70ceba033759d44c6d3d9b24118cd9fc9d616
tree2ae56fb59e67fc56034982b71aea147c08dae82e
parent6eaf0e612b415877d1c411b95bed2ecb53b546bb
hw/cxl/mailbox: change CCI cmd set structure to be a member, not a reference

This allows devices to have fully customized CCIs, along with complex
devices where wrapper devices can override or add additional CCI
commands without having to replicate full command structures or
pollute a base device with every command that might ever be used.

Signed-off-by: Gregory Price <gregory.price@memverge.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Fan Ni <fan.ni@samsung.com>
Message-Id: <20240523174651.1089554-2-nifan.cxl@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/cxl/cxl-mailbox-utils.c
include/hw/cxl/cxl_device.h