Spdk/lib/vhost
Pawel Wodkowski c1cfc10a59 rte_vhost: stop device before messages that can change something
Some messages like SET_FEATURES, SET_VRING_ADDR etc will change internal
state of VQ or device. To prevent race vs thread polling those queues
stop the device.

Change-Id: I15caf9da0decbaa660e9773c93d45ff148e5e9a8
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/395739
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-01-30 15:42:40 -05:00
..
rte_vhost rte_vhost: stop device before messages that can change something 2018-01-30 15:42:40 -05:00
Makefile env: Automatically register new memory with the IOMMU 2017-09-01 15:25:24 -04:00
vhost_blk.c vhost_blk: set proper vring_used_elem->len 2018-01-11 12:01:53 -05:00
vhost_internal.h util: extend cpumask to hold more than 64 cpus 2018-01-25 18:51:50 -05:00
vhost_rpc.c util: extend cpumask to hold more than 64 cpus 2018-01-25 18:51:50 -05:00
vhost_scsi.c scsi: remove lun name 2018-01-11 18:37:34 -05:00
vhost.c vhost: prevent IO freeze by kicking all queues after starting device 2018-01-30 15:42:40 -05:00