From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ouyang Changchun Subject: [PATCH 0/3] Fix vhost startup issue Date: Thu, 2 Jul 2015 11:33:00 +0800 Message-ID: <1435807983-20383-1-git-send-email-changchun.ouyang@intel.com> To: dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 98014377E for ; Thu, 2 Jul 2015 05:33:23 +0200 (CEST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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