The commit breaks vhost sample when it runs in second time:
292959c71961acde0cda6e77e737bb0a4df1559c

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.

Also add/refine some log infomation.

Changchun Ouyang (3):
  vhost: add log if fails to bind a socket
  vhost: fix the comments and log
  vhost: call api to unregister vhost driver

 examples/vhost/main.c                        | 22 ++++++++++++++++++++--
 lib/librte_vhost/vhost_user/vhost-net-user.c |  5 ++++-
 2 files changed, 24 insertions(+), 3 deletions(-)

-- 
1.8.4.2

Reply via email to