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> |
||
---|---|---|
.. | ||
rpc | ||
sma | ||
spdkcli | ||
__init__.py |