Spdk/lib/vhost
Tomasz Zawadzki 216901dbd7 vhost: close remaining memory region FDs during backend cleanup
After changes done in commit f325e71c, closing old FD is delayed until
VHOST_USER_SET_VRING_ADDR. If VM is closed before this call, original FDs
remain during vhost_backend_cleanup. This resolves issue #162.

This patch closes second set of FDs during vhost backend cleanup.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: Ieb9d123c987009ac451b6214bb74d2720d852781
Reviewed-on: https://review.gerrithub.io/361787
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Piotr Pelpliński <piotr.pelplinski@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
2017-05-24 11:53:47 -04:00
..
linux vhost: add copy of virtio headers 2017-03-23 13:51:04 -07:00
rte_vhost vhost: close remaining memory region FDs during backend cleanup 2017-05-24 11:53:47 -04:00
Makefile vhost: enable VFIO 2017-04-24 12:20:04 -07:00
task.c scsi: remove spdk_scsi_task::owner_task_ctr 2017-05-15 10:12:42 -07:00
task.h scsi: remove spdk_scsi_task::owner_task_ctr 2017-05-15 10:12:42 -07:00
vhost_iommu.c vhost: fix deadlock on VFIO registration failure 2017-05-24 11:49:11 -04:00
vhost_iommu.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
vhost_rpc.c vhost: added rpc commands to remove vhost controllers and devices 2017-05-18 01:01:46 -07:00
vhost.c scsi: pass management function as a parameter 2017-05-18 13:47:42 -07:00