From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?SsOpcsO0bWUgSnV0dGVhdQ==?= Subject: Re: [PATCH 2/3] vhost: check that a device exists during reset_owner Date: Mon, 19 Oct 2015 11:42:44 +0200 Message-ID: References: <1444986530-20893-1-git-send-email-jerome.jutteau@outscale.com> <1444986530-20893-3-git-send-email-jerome.jutteau@outscale.com> <20151019043548.GO3115@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Yuanhan Liu Return-path: Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by dpdk.org (Postfix) with ESMTP id 408A45961 for ; Mon, 19 Oct 2015 11:43:04 +0200 (CEST) Received: by obbzf10 with SMTP id zf10so133949295obb.2 for ; Mon, 19 Oct 2015 02:43:03 -0700 (PDT) In-Reply-To: <20151019043548.GO3115@yliu-dev.sh.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" Hi Yuanhan, 2015-10-19 6:35 GMT+02:00 Yuanhan Liu : > I would call get_device() here, which dumps an error message when > it's NULL so that user will get noticed. > > Besides that, the 3 patches look good to me, and, > > Acked-by: Yuanhan Liu Thanks for your review, a v2 is coming soon with get_device(). --=20 J=C3=A9r=C3=B4me