The patch set fix vhost sample fails to start up in second time: It should call api to unregister vhost driver when sample exit/quit, then the socket file will be removed(by calling unlink), and thus make vhost sample work correctly in second time startup.
It also adds/refines some log information. Changchun Ouyang (3): vhost: add log when failing to bind a socket vhost: fix the comments and log vhost: call api to unregister vhost driver examples/vhost/main.c | 16 ++++++++++++++-- lib/librte_vhost/vhost_user/vhost-net-user.c | 5 ++++- 2 files changed, 18 insertions(+), 3 deletions(-) -- 1.8.4.2