examples/vhost_scsi: introduce a new sample app
authorChangpeng Liu <changpeng.liu@intel.com>
Thu, 20 Jul 2017 09:16:29 +0000 (17:16 +0800)
committerYuanhan Liu <yliu@fridaylinux.org>
Wed, 19 Jul 2017 19:49:47 +0000 (22:49 +0300)
commitdb75c7af19bb989ec18653a997113fcd9e72d485
tree9d3566610e7e74cebeae166a27ab857e268cc34c
parent78b2e3bae1af7fc8b9994193ff90846fa5520eb7
examples/vhost_scsi: introduce a new sample app

vhost-user protocol is common to many virtio devices, such as
virtio_net/virtio_scsi/virtio_blk. Since DPDK vhost library
removed the NET specific data structures, the vhost library
is common to other virtio devices, such as virtio-scsi.

Here we introduce a simple memory based block device that
can be presented to Guest VM through vhost-user-scsi-pci
controller. Similar with vhost-net, the sample application
will process the I/Os sent via virt rings.

Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
MAINTAINERS
doc/guides/sample_app_ug/index.rst
doc/guides/sample_app_ug/vhost_scsi.rst [new file with mode: 0644]
examples/Makefile
examples/vhost_scsi/Makefile [new file with mode: 0644]
examples/vhost_scsi/scsi.c [new file with mode: 0644]
examples/vhost_scsi/scsi_spec.h [new file with mode: 0644]
examples/vhost_scsi/vhost_scsi.c [new file with mode: 0644]
examples/vhost_scsi/vhost_scsi.h [new file with mode: 0644]