vhost-user: allow slave to send fds via slave channel
commit5f57fbeaaf7c4cd33152d7f2e449caab4d4209d9
authorTiwei Bie <tiwei.bie@intel.com>
Thu, 24 May 2018 10:33:32 +0000 (24 18:33 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 24 May 2018 18:14:10 +0000 (24 21:14 +0300)
tree01b474e9f5c11a213bd94bd59e92822ae49fef85
parent988a27754bbbc45698f7acb54352e5a1ae699514
vhost-user: allow slave to send fds via slave channel

Introduce VHOST_USER_PROTOCOL_F_SLAVE_SEND_FD protocol
feature to allow slave to send at most 8 descriptors
in each message to master via ancillary data using the
slave channel.

Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
docs/interop/vhost-user.txt
hw/virtio/vhost-user.c