numam-dpdk/lib/librte_vhost
Maxime Coquelin c00bb88d35 vhost: add number of fds to vhost-user messages
As soon as some ancillary data (fds) are received, it is copied
without checking its length.

This patch adds the number of fds received to the message,
which is set in read_vhost_message().

This is preliminary work to support sending fds to Qemu.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2018-10-18 10:24:39 +02:00
..
fd_man.c vhost: fix typo in comment 2018-05-14 22:31:03 +01:00
fd_man.h vhost: fix dead lock on closing in server mode 2018-05-14 22:29:59 +01:00
iotlb.c vhost: flush IOTLB cache on new mem table handling 2018-08-05 01:47:47 +02:00
iotlb.h vhost: flush IOTLB cache on new mem table handling 2018-08-05 01:47:47 +02:00
Makefile vhost: fix vhost interrupt support 2018-09-14 20:08:41 +02:00
meson.build vhost: fix vhost interrupt support 2018-09-14 20:08:41 +02:00
rte_vdpa.h vhost: add doxygen comment to vDPA header 2018-10-18 10:24:39 +02:00
rte_vhost_crypto.h vhost/crypto: add public function implementation 2018-04-14 00:43:30 +02:00
rte_vhost_version.map vhost: introduce API to get vDPA device number 2018-10-11 18:53:49 +02:00
rte_vhost.h vhost: define postcopy protocol flag 2018-10-18 10:24:39 +02:00
socket.c vhost: add number of fds to vhost-user messages 2018-10-18 10:24:39 +02:00
vdpa.c vhost: introduce API to get vDPA device number 2018-10-11 18:53:49 +02:00
vhost_crypto.c vhost: fix messages results handling 2018-10-18 10:24:39 +02:00
vhost_user.c vhost: add number of fds to vhost-user messages 2018-10-18 10:24:39 +02:00
vhost_user.h vhost: add number of fds to vhost-user messages 2018-10-18 10:24:39 +02:00
vhost.c vhost: fix notification for packed ring 2018-10-18 10:24:39 +02:00
vhost.h vhost: fix messages results handling 2018-10-18 10:24:39 +02:00
virtio_crypto.h vhost: add virtio crypto header file 2018-04-14 00:43:30 +02:00
virtio_net.c vhost: fix corner case for enqueue operation 2018-09-28 01:41:03 +02:00