Spdk/lib
Dariusz Stojaczyk d237aba3b9 vhost: separated scsi layer from vhost.c
Implemented vhost abstraction layer in preparations for vhost-blk.
Generalized vhost interface and separated vhost-scsi code.

Code placement:
vhost.h
 * vhost_startup() & shutdown()
 * public generic controller API

vhost_internal.h
 * includes rte_vhost.h from DPDK
 * struct spdk_vhost_dev (it has to be inherited by vhost_scsi)
 * vhost_dev management
   * register/unregister() to be used in new_device()/destroy_device()
   * construct/destruct() to be used on permanent creation/destruction.
 * reactor core management

vhost_scsi.h
 * spdk_vhost_scsi_dev management
   * reading VhostScsi section of vhost config file
   * creating/removing controllers
   * adding/removing devices to controllers

vhost_scsi.c
 * virtio scsi logic
 * new_device(), destroy_device()

Change-Id: Iaf661b14eba034593bef24853c525935d9b18e46
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/361963
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
2017-05-25 18:30:44 -04:00
..
bdev bdev/error: do not submit an I/O that will be failed 2017-05-25 13:53:06 -04:00
blob bdev: make enum spdk_bdev_io_status private 2017-05-23 16:30:10 -04:00
blobfs blobfs: cleanup cache pool 2017-05-25 16:55:03 -04:00
conf log: Use SPDK_ERRLOG in lieu of fprintf(stderr 2017-05-09 11:28:28 -07:00
copy io_channel: Remove unique flag 2017-05-22 19:27:17 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env: remove element size from spdk_ring_create 2017-05-25 13:52:49 -04:00
event env: remove element size from spdk_ring_create 2017-05-25 13:52:49 -04:00
ioat include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
iscsi iscsi: free mempools on exit 2017-05-25 13:52:09 -04:00
json include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
jsonrpc include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
log log: Use SPDK_ERRLOG in lieu of fprintf(stderr 2017-05-09 11:28:28 -07:00
net build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
nvme nvme/host: use spec-compliant PSDT value 01b 2017-05-23 17:10:50 -04:00
nvmf bdev: make enum spdk_bdev_io_status private 2017-05-23 16:30:10 -04:00
rpc include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
scsi scsi: fix scsi compliance issue for inquiry VPD NAA identifier 2017-05-24 11:51:00 -04:00
trace include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
util io_channel: Remove unique flag 2017-05-22 19:27:17 -04:00
vhost vhost: separated scsi layer from vhost.c 2017-05-25 18:30:44 -04:00
Makefile blobfs: Add a lightweight filesystem built on the blobstore 2017-03-24 14:15:45 -07:00