numam-spdk/lib/vhost
Dariusz Stojaczyk 1fc1068049 vhost_scsi: vhost_scsi_dev_add_dev now takes vhost_dev param
Continuation of patch 94afad5a [1].
That function could be called from outside of the vhost reactor,
causing data races and possible segfaults.

Now, after this patch, all ctrlr-changing functions take spdk_vhost_dev
parameter, meaning they should be called via external event API [1],
which soon will be the only way of obtaining spdk_vhost_dev pointer.

[1] 94afad5a ("vhost: added external API to call spdk_events on vdev reactor")

Change-Id: I40ea66ad09fb5c433dd897a4e22aedeb423f9b4b
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/371013
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2017-09-15 14:18:46 -04:00
..
rte_vhost rte_vhost: fix numa_realloc() copy size 2017-09-07 18:02:09 -04:00
Makefile env: Automatically register new memory with the IOMMU 2017-09-01 15:25:24 -04:00
test_plan.md test/vhost: Update test plan for vhost 2017-07-25 15:48:46 -04:00
vhost_blk.c vhost: readded return codes for dpdk callbacks 2017-09-15 14:18:46 -04:00
vhost_internal.h vhost: readded return codes for dpdk callbacks 2017-09-15 14:18:46 -04:00
vhost_rpc.c vhost_scsi: vhost_scsi_dev_add_dev now takes vhost_dev param 2017-09-15 14:18:46 -04:00
vhost_scsi.c vhost_scsi: vhost_scsi_dev_add_dev now takes vhost_dev param 2017-09-15 14:18:46 -04:00
vhost.c vhost: readded return codes for dpdk callbacks 2017-09-15 14:18:46 -04:00