From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 05 Jul 2015 19:27:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,412,1432623600"; d="scan'208";a="519340973" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 05 Jul 2015 19:27:01 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t662QvEX009550; Mon, 6 Jul 2015 10:26:59 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t662QsXQ030414; Mon, 6 Jul 2015 10:26:56 +0800 Received: (from couyang@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t662QrjM030410; Mon, 6 Jul 2015 10:26:53 +0800 From: Ouyang Changchun To: dev@dpdk.org Date: Mon, 6 Jul 2015 10:26:50 +0800 Message-Id: <1436149613-30239-1-git-send-email-changchun.ouyang@intel.com> X-Mailer: git-send-email 1.7.12.2 In-Reply-To: <1435807983-20383-1-git-send-email-changchun.ouyang@intel.com> References: <1435807983-20383-1-git-send-email-changchun.ouyang@intel.com> Subject: [dpdk-dev] [PATCH v2 0/3] Fix vhost startup issue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2015 02:27:04 -0000 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