Commit 0059b455 authored by Seth Howell's avatar Seth Howell Committed by Tomasz Zawadzki
Browse files

lib/vhost: add a map file.



Signed-off-by: default avatarSeth Howell <seth.howell@intel.com>
Change-Id: I9935151ef41be20199a19085c1775d15f9ab6ba2
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2304


Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent 9b86f31a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -50,4 +50,6 @@ endif

LIBNAME = vhost

SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_vhost.map)

include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
+28 −0
Original line number Diff line number Diff line
{
	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: *;
};
+18 −0
Original line number Diff line number Diff line
@@ -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