Spdk/lib/vhost
Dariusz Stojaczyk 542b541588 vhost_scsi: implemented abstract vhost event layer
Implemented abstract vhost event layer on top of virtio eventq.
This allows us to defer virtio-event-related actions to be called from
the vhost poller thread. This is required for hot-attach, for which
io_channels have to be created on the I/O thread.

This adds full support for hot-attaching and hot-detaching vhost scsi
devices. They can be now attached to a controller via RPC at any time.

Change-Id: Icf353bfcf69c83ef16b8fc771ea4c487002094f9
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Signed-off-by: Pawel Kaminski <pawelx.kaminski@intel.com>
Reviewed-on: https://review.gerrithub.io/370016
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-07-20 13:19:26 -04:00
..
linux vhost: add copy of virtio headers 2017-03-23 13:51:04 -07:00
rte_vhost rte_vhost: added error log in vhost_user_set_features 2017-06-30 16:32:47 -04:00
Makefile vhost: removed task.h/task.c 2017-06-30 16:32:47 -04:00
test_plan.md test: add vhost test plan 2017-06-21 19:55:13 -04:00
vhost_blk.c bdev: pass descriptors for I/O operations 2017-07-14 13:31:30 -04:00
vhost_internal.h vhost: renamed MAX_VRINGS define to MAX_VQUEUES 2017-07-12 13:14:26 -04:00
vhost_iommu.c vhost_iommu: handle realloc() failure 2017-07-13 15:47:33 -04:00
vhost_iommu.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
vhost_rpc.c vhost: Make JSON-RPC parameter names as consistent as possible 2017-07-14 15:54:28 -04:00
vhost_scsi.c vhost_scsi: implemented abstract vhost event layer 2017-07-20 13:19:26 -04:00
vhost.c vhost: renamed MAX_VRINGS define to MAX_VQUEUES 2017-07-12 13:14:26 -04:00