Always unset the VHOST_SCSI_DEV_REMOVED status on session stop, so that we won't send hotremove SCSI sense codes after e.g. a VM gets rebooted. The VM should generally enumerate the SCSI devices again in such case. We already unset the REMOVED status for devices which were still attached at the time of the session stop, but the devices hotremoved before the session stop retained their REMOVED status, giving us inconsistent behavior. Change-Id: I7c5876e29f4bdc99cc060f1d891e24ac57051f37 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449709 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> |
||
---|---|---|
.. | ||
rte_vhost | ||
Makefile | ||
rte_vhost_compat.c | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_nvme.c | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |