From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ouyang Changchun Subject: [PATCH v2 0/3] Fix vhost startup issue Date: Mon, 6 Jul 2015 10:26:50 +0800 Message-ID: <1436149613-30239-1-git-send-email-changchun.ouyang@intel.com> References: <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 ADC426849 for ; Mon, 6 Jul 2015 04:27:03 +0200 (CEST) In-Reply-To: <1435807983-20383-1-git-send-email-changchun.ouyang@intel.com> 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 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