Spdk/scripts/rpc
Dariusz Stojaczyk 17d55c9fd4 bdev/virtio: added vhost-blk initiator
Briefly tested with SPDK target via bdevio
through both vhost-user and QEMU's virtio-pci.

vhost-blk driver is not mentioned in any doc yet.
A virtio-blk bdev can be created as following:

`construct_virtio_user_blk_bdev /tmp/virtio.0 MyVirtioBlk0 --vq-count 16`
`construct_virtio_pci_blk_bdev 0000:01:00.0 MyVirtioBlk1`

or

```
[VirtioUser0]
  Path /tmp/vhost.0
  Type Blk
  Queues 16

[VirtioPci]
  Enable Yes
```

If `Type` field is not present, the VirtioUser
section will be parsed as a SCSI one, preserving
backward compatibility.

Change-Id: I3eae9f3b90570fbb0177df4951e5eed86fe07c66
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/393056
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-03-02 13:41:38 -05:00
..
__init__.py subsystem: add "get_subsystems" RPC call 2018-02-23 15:27:16 -05:00
app.py pep8: re-enable E302 (2 blank lines between functions) 2018-02-15 11:10:41 -05:00
bdev.py pep8: re-enable E302 (2 blank lines between functions) 2018-02-15 11:10:41 -05:00
client.py Added support for IPv6 address to send JSON request using rpc.py 2018-02-21 12:54:26 -05:00
iscsi.py iscsi/rpc: Convert type of CHAP params of target from int to bool 2018-02-23 18:56:11 -05:00
log.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
lvol.py bdev: Added functions allowing logical volume rename. 2018-02-16 16:21:20 -05:00
nbd.py rpc: Break rpc client into individual python files 2018-01-25 10:24:46 -05:00
net.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
nvmf.py nvmf: add Namespace deletion RPC support 2018-03-02 13:39:23 -05:00
pmem.py rpc: Break rpc client into individual python files 2018-01-25 10:24:46 -05:00
subsystem.py subsystem: add "get_subsystems" RPC call 2018-02-23 15:27:16 -05:00
vhost.py bdev/virtio: added vhost-blk initiator 2018-03-02 13:41:38 -05:00