db68f4ff06
The VhostUserMsg request is reused as the reply by message processing functions. This is risky since request fields may corrupt the reply if the vhost-user message handler function forgets to re-initialize them. Changing this practice would be very invasive but we can introduce a helper function to make u64 payload replies safe. This also eliminates code duplication in message processing functions. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20190626074815.19994-2-stefanha@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
||
---|---|---|
.. | ||
elf2dmp | ||
gitdm | ||
ivshmem-client | ||
ivshmem-server | ||
libvhost-user | ||
rdmacm-mux | ||
systemd | ||
vhost-user-blk | ||
vhost-user-gpu | ||
vhost-user-input | ||
vhost-user-scsi |