lib/vhost: add a map file.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: I9935151ef41be20199a19085c1775d15f9ab6ba2
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2304
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Seth Howell 2020-05-09 18:10:11 -07:00 committed by Tomasz Zawadzki
parent 9b86f31a38
commit 0059b45510
3 changed files with 48 additions and 0 deletions

View File

@ -50,4 +50,6 @@ endif
LIBNAME = vhost
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_vhost.map)
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

28
lib/vhost/spdk_vhost.map Normal file
View File

@ -0,0 +1,28 @@
{
global:
# public functions
spdk_vhost_set_socket_path;
spdk_vhost_init;
spdk_vhost_fini;
spdk_vhost_config_json;
spdk_vhost_shutdown_cb;
spdk_vhost_lock;
spdk_vhost_trylock;
spdk_vhost_unlock;
spdk_vhost_dev_find;
spdk_vhost_dev_next;
spdk_vhost_dev_get_name;
spdk_vhost_dev_get_cpumask;
spdk_vhost_set_coalescing;
spdk_vhost_get_coalescing;
spdk_vhost_scsi_dev_construct;
spdk_vhost_scsi_dev_add_tgt;
spdk_vhost_scsi_dev_get_tgt;
spdk_vhost_scsi_dev_remove_tgt;
spdk_vhost_blk_construct;
spdk_vhost_dev_remove;
spdk_vhost_blk_get_dev;
local: *;
};

View File

@ -256,6 +256,24 @@ function confirm_abi_deps() {
name = SPDK_LOG_APP_RPC
[suppress_function]
name = spdk_nvmf_parse_conf
[suppress_variable]
name = SPDK_LOG_VHOST
[suppress_variable]
name = SPDK_LOG_VHOST_BLK
[suppress_variable]
name = SPDK_LOG_VHOST_BLK_DATA
[suppress_variable]
name = SPDK_LOG_VHOST_RING
[suppress_variable]
name = SPDK_LOG_VHOST_RPC
[suppress_variable]
name = SPDK_LOG_VHOST_SCSI
[suppress_variable]
name = SPDK_LOG_VHOST_SCSI_DATA
[suppress_variable]
name = SPDK_LOG_VHOST_SCSI_QUEUE
[suppress_variable]
name = spdk_vhost_scsi_device_backend
EOF
for object in "$libdir"/libspdk_*.so; do