vhost: implement cuse memory table
authorHuawei Xie <huawei.xie@intel.com>
Mon, 23 Feb 2015 17:36:29 +0000 (17:36 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Feb 2015 00:38:14 +0000 (01:38 +0100)
commit9464a441601e8b2447373ce0dfcc31cc4ae409a5
tree61a6bbd7673f6f20dbbb55e8c8995177e0f18f54
parentc89d3e5afd35e5b12a1056c3667ddfd28fc260c9
vhost: implement cuse memory table

remove set_memory_table ops

vhost-cuse or vhost-user will both implement their own set_memory_region handler.

In current vhost-cuse implementation, guest numa memory isn't supported.
Assume that guest memory is backed by only one file.

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-net.h
lib/librte_vhost/vhost_cuse/vhost-net-cdev.c
lib/librte_vhost/vhost_cuse/virtio-net-cdev.c
lib/librte_vhost/vhost_cuse/virtio-net-cdev.h [new file with mode: 0644]
lib/librte_vhost/virtio-net.c
lib/librte_vhost/virtio-net.h [new file with mode: 0644]