Spdk/lib/vhost
Vitaliy Mysak 576dba8835 vhost: move feature fields from backend to vdev structure
This will enable us to make features dynamic, dependent on underlying
backend device, and to remove usage of rte_vhost functions in
vhost-blk implementation which will improve encapsulation
and enable us to write tests that use vhost-blk functions directly.

Dynamic features are used in vhost_blk, but backend structure is
assumed to be static, so we had to call
rte_vhost_driver_enable_features() after registering it with
some features initially disabled.
This patch moves feature fields to vdev structure where it
can be set dynamically.

Change-Id: Icd76bdd76a3d67ec74e0ac992d8da639beead593
Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470460
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
2019-12-20 10:07:16 +00:00
..
Makefile make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
rte_vhost_compat.c vhost: make g_spdk_vhost_ops as static variable 2019-12-17 09:30:03 +00:00
vhost_blk.c vhost: move feature fields from backend to vdev structure 2019-12-20 10:07:16 +00:00
vhost_internal.h vhost: move feature fields from backend to vdev structure 2019-12-20 10:07:16 +00:00
vhost_nvme.c nvme: allow setting of completion queue CDW0 2019-10-24 18:02:38 +00:00
vhost_rpc.c vhost_rpc: Fix function typo error. 2019-10-10 16:52:44 +00:00
vhost_scsi.c vhost: move feature fields from backend to vdev structure 2019-12-20 10:07:16 +00:00
vhost.c vhost: move feature fields from backend to vdev structure 2019-12-20 10:07:16 +00:00