ffb4d54a79
rte_vhost_driver_start() can start a new posix thread that polls for incoming socket connections and calls backend->start/stop_device. Soon we're going to put more work on this thread, so we need to make sure it doesn't collide with SPDK reactors. This patch also fixes vdev memory leaks in case the rte_vhost_driver_start() fails. Change-Id: I16fdff228176a245c478251b39aa244a49bd124b Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/406959 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>