aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2023-10-23 17:07:53 +0100
committerMichael S. Tsirkin <mst@redhat.com>2023-11-07 03:39:11 -0500
commitc9460561edbd8b2d4adbf1f7c5cb4ad4d210de4c (patch)
tree350146e485148047c5aea72232fe0043e1db6947 /qemu-io.c
parentcac36a8faffc62ba6b07d8e9dfdc9fbf15c7d1bf (diff)
downloadqemu-c9460561edbd8b2d4adbf1f7c5cb4ad4d210de4c.zip
qemu-c9460561edbd8b2d4adbf1f7c5cb4ad4d210de4c.tar.gz
qemu-c9460561edbd8b2d4adbf1f7c5cb4ad4d210de4c.tar.bz2
hw/cxl/mbox: Generalize the CCI command processing
By moving the parts of the mailbox command handling that are CCI type specific out to the caller, make the main handling code generic. Rename it to cxl_process_cci_message() to reflect this new generality. Change the type3 mailbox handling (reused shortly for the switch mailbox CCI) to take a snapshot of the mailbox input data rather than operating on it in place. This reduces the chance of bugs due to aliasing going forwars. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20231023160806.13206-5-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions