module/event_vhost: add a map file and remove spdk prefix.
Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: I1467ea67269b50f346d84bb926b885c6e581a78f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2354 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
d5570379db
commit
650ced4c39
@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
|
||||
C_SRCS = vhost.c
|
||||
LIBNAME = event_vhost
|
||||
|
||||
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
|
||||
|
||||
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
|
||||
|
@ -38,33 +38,33 @@
|
||||
#include "spdk_internal/event.h"
|
||||
|
||||
static void
|
||||
spdk_vhost_subsystem_init_done(int rc)
|
||||
vhost_subsystem_init_done(int rc)
|
||||
{
|
||||
spdk_subsystem_init_next(rc);
|
||||
}
|
||||
|
||||
static void
|
||||
spdk_vhost_subsystem_init(void)
|
||||
vhost_subsystem_init(void)
|
||||
{
|
||||
spdk_vhost_init(spdk_vhost_subsystem_init_done);
|
||||
spdk_vhost_init(vhost_subsystem_init_done);
|
||||
}
|
||||
|
||||
static void
|
||||
spdk_vhost_subsystem_fini_done(void)
|
||||
vhost_subsystem_fini_done(void)
|
||||
{
|
||||
spdk_subsystem_fini_next();
|
||||
}
|
||||
|
||||
static void
|
||||
spdk_vhost_subsystem_fini(void)
|
||||
vhost_subsystem_fini(void)
|
||||
{
|
||||
spdk_vhost_fini(spdk_vhost_subsystem_fini_done);
|
||||
spdk_vhost_fini(vhost_subsystem_fini_done);
|
||||
}
|
||||
|
||||
static struct spdk_subsystem g_spdk_subsystem_vhost = {
|
||||
.name = "vhost",
|
||||
.init = spdk_vhost_subsystem_init,
|
||||
.fini = spdk_vhost_subsystem_fini,
|
||||
.init = vhost_subsystem_init,
|
||||
.fini = vhost_subsystem_fini,
|
||||
.config = NULL,
|
||||
.write_config_json = spdk_vhost_config_json,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user