Spdk/test/unit/lib/vhost
Dariusz Stojaczyk a8599cd4f0 vhost: sync controller creation with g_spdk_vhost_mutex
Controller creation RPC can't be done on controller's reactor
(as there's obviously no controller yet...), so a special
set of vhost_mutex_lock/unlock() functions to has been added
to synchronise controller creation with the rest of
ctrlr-enumerating code.

Change-Id: Ib6e4b894a85ff1f70ebd047832c5a3568a00f1a7
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/377651
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-09-15 14:18:46 -04:00
..
vhost_blk.c vhost: sync controller creation with g_spdk_vhost_mutex 2017-09-15 14:18:46 -04:00
vhost_scsi.c vhost: sync controller creation with g_spdk_vhost_mutex 2017-09-15 14:18:46 -04:00
vhost.c env: Automatically register new memory with the IOMMU 2017-09-01 15:25:24 -04:00
Makefile ut/vhost: add UT coverage for vhost_blk.c 2017-09-06 18:14:15 -04:00