Spdk/test/unit/lib/vhost
Dariusz Stojaczyk ffb4d54a79 vhost: unaffinitize rte_vhost thread
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>
2018-04-11 16:49:57 -04:00
..
vhost_blk.c vhost: reduce log level of informational messages 2018-04-05 12:06:45 -04:00
vhost_scsi.c vhost: reduce log level of informational messages 2018-04-05 12:06:45 -04:00
vhost.c vhost: unaffinitize rte_vhost thread 2018-04-11 16:49:57 -04:00
Makefile ut/vhost: add UT coverage for vhost_blk.c 2017-09-06 18:14:15 -04:00
test_vhost.c vhost: always inline spdk_vhost_dev_has_feature 2018-02-20 12:35:21 -05:00