numam-dpdk/drivers/net/vhost
Chas Williams aed0b12930 net/vhost: fix socket file deleted on stop
If you create a vhost server device, it doesn't create the actual datagram
socket until you call .dev_start().  If you call .dev_stop() is also
deletes those sockets.  For QEMU clients, this is a problem since QEMU
doesn't know how to re-attach to datagram sockets that have gone away.

To fix this, register and unregister the datagram sockets during device
creation and removal.

Fixes: ee584e9710 ("vhost: add driver on top of the library")
Cc: stable@dpdk.org

Signed-off-by: Chas Williams <ciwillia@brocade.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2017-01-17 09:20:17 +01:00
..
Makefile mk: fix internal dependencies 2016-06-29 13:33:01 +02:00
rte_eth_vhost.c net/vhost: fix socket file deleted on stop 2017-01-17 09:20:17 +01:00
rte_eth_vhost.h net/vhost: retrieve vid for a given port 2016-09-29 15:07:13 +02:00
rte_pmd_vhost_version.map net/vhost: retrieve vid for a given port 2016-09-29 15:07:13 +02:00