Spdk/python/spdk/sma
Sebastian Brzezinka 56657ad058 sma: vhost-user sma implementation
This patch utilize generic sma implementation by adding vhost-user
devices manager. It's allow to expose virtualized block devices to
QEMU instances or other arbitrary processes.

Max device capacity depend on available `pci-bridge`
```
devices:
  - name: 'vhost_blk'
    params:
      buses:
        - name: 'pci.spdk.0'
          count: 32
        - name: 'pci.spdk.1'
          count: 32
      qmp_addr: 127.0.0.1
      qmp_port: 9090
```

To attach `pci-bridge` at boot time we need to run qemu with this option
```
device pci-bridge,chassis_nr=1,id=pci.spdk.0
device pci-bridge,chassis_nr=2,id=pci.spdk.1
``

Change-Id: Idbe841b12cf59975ff0e6717f8dc905d38379357
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12207
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Artek Koltun <artsiom.koltun@intel.com>
2022-05-20 09:16:54 +00:00
..
device sma: vhost-user sma implementation 2022-05-20 09:16:54 +00:00
proto sma: add golang package definitions 2022-05-18 07:24:06 +00:00
volume sma: add volume cleanup thread 2022-05-20 09:16:54 +00:00
__init__.py sma: vhost-user sma implementation 2022-05-20 09:16:54 +00:00
common.py sma: initial Storage Management Agent structures 2022-05-18 07:24:06 +00:00
qmp.py sma: QMP base definitions created 2022-05-20 09:16:54 +00:00
sma.py sma: add volume cleanup thread 2022-05-20 09:16:54 +00:00