Spdk/python/spdk/sma/device
spdk 01471e63bc sma: fix multiple bus support for NVMe/vfio_user plugin
In original code, device search was performed only on first
attached bus. If device resided on second attached bus, it couldn't
be found and properly deleted in qemu.

This patch allows to traverse all attached buses to find required
device.

Signed-off-by: Artsiom Koltun <artsiom.koltun@intel.com>
Change-Id: I0840d0a2367d3382c6723ee4cdb6d768128c8032
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14651
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: <sebastian.brzezinka@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-09-23 11:33:07 +00:00
..
__init__.py sma: nvmf/vfiouser device manager implementation 2022-08-01 08:45:58 +00:00
device.py sma: handle QoS requests in the generic layer 2022-09-22 12:38:37 +00:00
nvmf_tcp.py sma: support bdev-based QoS for NVMe/TCP devices 2022-09-22 12:38:37 +00:00
nvmf_vfiouser.py sma: fix multiple bus support for NVMe/vfio_user plugin 2022-09-23 11:33:07 +00:00
vhost_blk.py sma: support bdev-based QoS for vhost_blk devices 2022-09-22 12:38:37 +00:00