OSDN Git Service

libvhost-user: handle shared_object msg
authorAlbert Esteve <aesteve@redhat.com>
Mon, 2 Oct 2023 06:57:06 +0000 (08:57 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 4 Oct 2023 22:15:06 +0000 (18:15 -0400)
commitce0f3b032a960726c0dddfb4f81f223215179f26
treec2b9c9a3765fe62aa0d401dd21042195e3498462
parent160947666276c5b7f6bca4d746bcac2966635d79
libvhost-user: handle shared_object msg

In the libvhost-user library we need to
handle VHOST_USER_GET_SHARED_OBJECT requests,
and add helper functions to allow sending messages
to interact with the virtio shared objects
hash table.

Signed-off-by: Albert Esteve <aesteve@redhat.com>
Message-Id: <20231002065706.94707-5-aesteve@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
subprojects/libvhost-user/libvhost-user.c
subprojects/libvhost-user/libvhost-user.h