Each spdk_vhost_dev_backend is local to either SCSI or BLK backends, so its not possible to gauge which backend is used by the vdev on generic vhost layer. Added a `type` field with matching enums to differentiate between the two. Later patches will check that field in vhost.c. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I2a95961b9f9b5f070db7b22d44cf5114a24b1067 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12675 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> |
||
---|---|---|
.. | ||
Makefile | ||
rte_vhost_user.c | ||
spdk_vhost.map | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |