+10
−1
+6
−1
Loading
Add a new test flag SPDK_RUN_NON_ROOT forcing some of the SPDK applications to run as an unprivileged user. For now we implement it in nvmf tests. If enabled, nvmf_tgt will run as the user who invoked `sudo ./autotest.sh`. Running SPDK as non-root has two major prerequisites right now: * there must be an IOMMU in the system in order to use PCI devices * DPDK version must be either < 18.05 or >= 19.08-rc1 Change-Id: If1ba9dfcc09fc6cac059867408a1b54eddecfb4b Signed-off-by:Ben Walker <benjamin.walker@intel.com> Signed-off-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/454679 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>