In later patches rte_vhost functions will be moved to rte_vhost_user.c. To prepare for this, iterator is used in place of accessing g_vhost_devices. While here, followed the same style of iterating in spdk_vhost_config_json(). Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I1b73c00dfe1391f359421d044686e49a8c6c9176 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11022 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot 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: Konrad Sztyber <konrad.sztyber@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
rte_vhost_user.c | ||
spdk_vhost.map | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |