2187424ab2
In current implementation, lib/vhost assumes that it always runs together with lib/event, and would call lib/event's functions in vhost.c. This is not necessary and make program unable to create/destroy vhost module without init/fini the whole spdk env. It would cause problems when program runs with vhost and other spdk components together. In this patch, we remove the dependency of lib/vhost on lib/event by adding a global vairable g_vhost_core_mask so that it could handle core mask by itself. Signed-off-by: Kyle Zhang <kyle@smartx.com> Change-Id: I38ceb92ac39b6980955346fda41e968aaead863d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1204 Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
nvme.libtest.mk | ||
spdk.app_cxx.mk | ||
spdk.app_vars.mk | ||
spdk.app.mk | ||
spdk.common.mk | ||
spdk.deps.mk | ||
spdk.lib_deps.mk | ||
spdk.lib.mk | ||
spdk.mock.unittest.mk | ||
spdk.modules.mk | ||
spdk.nvmecli.mk | ||
spdk.subdirs.mk | ||
spdk.unittest.mk |