aboutsummaryrefslogtreecommitdiff
path: root/hw/cxl/cxl-events.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2023-10-23 17:07:50 +0100
committerMichael S. Tsirkin <mst@redhat.com>2023-11-07 03:39:11 -0500
commita7bb53b1eee6836d29003a8ffbd2c2c4c55a40c2 (patch)
tree3280650cd87673991a63b8a344bda66ea65ecd5d /hw/cxl/cxl-events.c
parent45234c2dd2920f16f768bda1ec8353bda8c5a929 (diff)
downloadqemu-a7bb53b1eee6836d29003a8ffbd2c2c4c55a40c2.zip
qemu-a7bb53b1eee6836d29003a8ffbd2c2c4c55a40c2.tar.gz
qemu-a7bb53b1eee6836d29003a8ffbd2c2c4c55a40c2.tar.bz2
hw/cxl/mbox: Pull the payload out of struct cxl_cmd and make instances constant
Putting the pointer in the structure for command handling puts a single variable element inside an otherwise constant structure. Move it out as a directly passed variable and take the cxl_cmd structures constant. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Fan Ni <fan.ni@samsung.com> Message-Id: <20231023160806.13206-2-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/cxl/cxl-events.c')
0 files changed, 0 insertions, 0 deletions