Spdk/python/spdk/rpc
Tomasz Zawadzki b727e804d6 vhost: add virtio_blk abstraction
This patch adds virtio_blk abstraction for custom transports,
with the 'vhost_user_blk' first one being used.

Added spdk_virtio_blk_transport_ops describing the nessecary
callbacks to be implemented by each transport.
Please use SPDK_VIRTIO_BLK_TRANSPORT_REGISTER to register the transport.
Transports can use virtio_blk_process_request() to process the
incoming I/O from their queues.

virtio_blk_create_transport RPC was added to create one of the
registered transports, possibly with custom JSON arguments.

Added 'transport' argument to vhost_create_blk_controller RPC,
to specify which transport should create the controller.
By default the vhost_user_blk transport is used.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: Ic9d93a6e0f483796eb56b7174a678e41a6ea4808
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9540
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-05-23 17:31:16 +00:00
..
__init__.py modules/accel/iaa: add IAA accel_fw module 2022-05-23 16:04:57 +00:00
app.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
bdev.py bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
blobfs.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
client.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
cmd_parser.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
dsa.py modules/accel_dsa: update IDXD references to DSA where it makes sense 2022-05-23 07:02:21 +00:00
env_dpdk.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
helpers.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
iaa.py modules/accel/iaa: add IAA accel_fw module 2022-05-23 16:04:57 +00:00
ioat.py accel module: remove support for deprecated RPC names 2022-05-23 16:14:41 +00:00
iscsi.py iscsi, scsi: remove support for deprecated RPC names 2022-05-09 23:03:02 +00:00
log.py log: remove support for deprecated RPC names 2022-05-12 07:26:35 +00:00
lvol.py bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
nbd.py nbd: remove support for deprecated RPC names 2022-05-09 23:13:39 +00:00
notify.py notify module: remove support for deprecated RPC names 2022-05-23 16:13:30 +00:00
nvme.py bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
nvmf.py nvmf: remove support for deprecated RPC names 2022-05-12 07:27:45 +00:00
pmem.py bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
sock.py sock: fix typo 2022-05-04 08:03:48 +00:00
subsystem.py subsystem module: remove support for deprecated RPC names 2022-05-23 16:16:55 +00:00
trace.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
vhost.py vhost: add virtio_blk abstraction 2022-05-23 17:31:16 +00:00
vmd.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00