Spdk/lib/vhost/rte_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
..
fd_man.c vhost: upgrade SPDK vhost code to DPDK 17.05 2017-05-08 17:04:29 -07:00
fd_man.h vhost: upgrade SPDK vhost code to DPDK 17.05 2017-05-08 17:04:29 -07:00
Makefile vhost: upgrade SPDK vhost code to DPDK 17.05 2017-05-08 17:04:29 -07:00
rte_vhost.h vhost: upgrade SPDK vhost code to DPDK 17.05 2017-05-08 17:04:29 -07:00
socket.c vhost: wrap vhost_user_read_cb with vhost_user mutex 2017-05-12 08:05:37 -07:00
vhost_user.c vhost: close remaining memory region FDs during backend cleanup 2017-05-24 11:53:47 -04:00
vhost_user.h vhost: upgrade SPDK vhost code to DPDK 17.05 2017-05-08 17:04:29 -07:00
vhost.c vhost: upgrade SPDK vhost code to DPDK 17.05 2017-05-08 17:04:29 -07:00
vhost.h vhost: upgrade SPDK vhost code to DPDK 17.05 2017-05-08 17:04:29 -07:00