vhost: move fd copying into cuse subdirectory
authorHuawei Xie <huawei.xie@intel.com>
Mon, 23 Feb 2015 17:36:26 +0000 (17:36 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Feb 2015 00:38:11 +0000 (01:38 +0100)
commitc2f60667bfbec9f98c9ca622b6c1cfd9d88d027e
tree09cb592ae574c16bd6a93e82e857a48126cec0ff
parent34f4c46dc42d781f83e181ce744d79779d53c8a1
vhost: move fd copying into cuse subdirectory

File descriptor is copied from qemu process into vhost process.
vhost-user doesn't need eventfd kernel module to copy fds between processes.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Signed-off-by: Przemyslaw Czesnowicz <przemyslaw.czesnowicz@intel.com>
lib/librte_vhost/Makefile
lib/librte_vhost/vhost_cuse/eventfd_copy.c [new file with mode: 0644]
lib/librte_vhost/vhost_cuse/eventfd_copy.h [new file with mode: 0644]
lib/librte_vhost/vhost_cuse/vhost-net-cdev.c
lib/librte_vhost/virtio-net.c