Spdk/lib/vhost
Changpeng Liu 4395093b97 vhost_blk: close the bdev in the hotplug callback
For normal exit logic, such as Ctrl+C, vhost blk will not
shutdown the backend device, e.g: NVMe controller.

Change-Id: I7fdf8687a2cfa6a8cc6a61428d722debfa9a2180
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/391348
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-12-19 14:54:51 -05:00
..
rte_vhost vhost: Reduces size of vhost app coredump file. 2017-12-01 12:56:04 -05:00
Makefile env: Automatically register new memory with the IOMMU 2017-09-01 15:25:24 -04:00
test_plan.md test/vhost: Test Plan for vhost initiator. 2017-10-26 14:07:59 -04:00
vhost_blk.c vhost_blk: close the bdev in the hotplug callback 2017-12-19 14:54:51 -05:00
vhost_internal.h vhost: interrupts coalescing 2017-10-27 13:06:40 -04:00
vhost_rpc.c vhost: Switch "Dev" keyword to "Target" 2017-12-08 09:25:49 -05:00
vhost_scsi.c vhost/rpc: fix get_vhost_controllers 2017-12-14 11:27:57 -05:00
vhost.c vhost: use vdev->path where possible 2017-12-12 15:42:03 -05:00