+7
−0
Loading
This is a bit problematic, since vhost_kill() operates on PID files, meaning, that it may attempt to kill a process which doesn't belong to the instance that's calling it. So to make it somewhat sensible, we need to check first if vhost is our child - only then attempt to verify it's status. Change-Id: I9024ab19f62652472ce9113bc3f1cf7326d14454 Signed-off-by:Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25149 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>