+5
−0
+16
−0
+34
−0
Loading
The env layer has a pci_allowed list, which specifies that only a subset of PCI devices may be attached by the associated process. But that doesn't cover PCI devices that are hot-inserted after the application starts, which is common for storage/NVMe. So add a new spdk_pci_device_allow() API which allows an application to add new devices to the allowed list. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I7bd5ff428d84480d46bc236698daadd019b20b8e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6183 Community-CI: Broadcom CI Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
<dongx.yi@intel.com>