Spdk/lib/vhost
Kyle Zhang 2187424ab2 lib/vhost: remove dependency on lib/event
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>
2020-05-13 07:47:01 +00:00
..
Makefile vhost: add packed ring support 2020-04-15 03:55:59 +00:00
rte_vhost_compat.c memory.h: move to public headers 2020-03-19 08:50:45 +00:00
vhost_blk.c vhost_blk: speed up the vhost device boot 2020-05-13 07:46:29 +00:00
vhost_internal.h lib/vhost: remove dependency on lib/event 2020-05-13 07:47:01 +00:00
vhost_nvme.c vhost/nvme: fix the compliation issue with internal vhost library 2020-04-24 07:08:17 +00:00
vhost_rpc.c vhost: add packed ring support 2020-04-15 03:55:59 +00:00
vhost_scsi.c lib/vhost: Don't dereference svdev->name in dev_remove. 2020-04-29 06:38:53 +00:00
vhost.c lib/vhost: remove dependency on lib/event 2020-05-13 07:47:01 +00:00