From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 730841B1C8 for ; Fri, 26 Jan 2018 16:20:43 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CDCB021096; Fri, 26 Jan 2018 10:20:42 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 26 Jan 2018 10:20:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=0Ymvr+bmkYK2ZURaAQ+RAwoTwX9N9SSPysHJ2XU9B7k=; b=oN/N5O8p YeGBEuKczqgg2puXx/+YU9HftgAjiR5rKv0k2uB3Od4y1fPsgRUpeL+D/pslnigM e4OjafAnloCaV1nRX+YQ1GG0O6xceMruuuoS5AEOATCXgqdAqMDcUJhmyV8ykJuB pWKMoNhvx3OhIMD7HdJ9hoWcbkr+tTd33hAZcAjJOHdn7bEToosJ3djw/Nhje0gg t0RYDExlDK52xBssE0HZ8x/EJsn4yBi2oQebOM87YlmIfFdiF16Axz3DycxO6/uv l71dnZvJtDr1L82cjoyyZyFkxaTCPlNrXWgmsSc3DGQh8rc9OmOfpjcNRSxS4WSr D6pTWi0bohCTnA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=0Ymvr+bmkYK2ZURaAQ+RAwoTwX9N9 SSPysHJ2XU9B7k=; b=ZCbeDSm0H50LC1QfYXFEAEDk3g8WdBVTR+4rrCEQtop6d fH+yAEgFjKuhz+dfSN1q+q1JAeHu4GVbiMo2ZgLtUSMinAG+8J+P8tZFo7arUbx0 /CEQ1l2Vhp9jwwLbUYNTnjuOixg7VdxZfG8y0lNwQF3y1r3OKvFQd3lIWIvx70RH WczAnGDgtFZIGodV/1xsA34q/CxNCvbuXwfe4le99S54xdA/5sihaLwpbnKQHmhV TCAvczBTgxHhzbEYm0AniIswxpiFuGB6nxi+xN1QEbortSB0q+v9ijM2MKL60NFJ W9xJpw+LEPUMsWQl9R/eadVFD5JbYm8AGLTE7tkMQ== X-ME-Sender: Received: from yliu-mob (unknown [182.84.185.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 828687E43A; Fri, 26 Jan 2018 10:20:41 -0500 (EST) Date: Fri, 26 Jan 2018 23:20:36 +0800 From: Yuanhan Liu To: Jianfeng Tan Cc: dev@dpdk.org, maxime.coquelin@redhat.com Message-ID: <20180126152036.GD29540@yliu-mob> References: <1516701163-132843-1-git-send-email-jianfeng.tan@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1516701163-132843-1-git-send-email-jianfeng.tan@intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [dpdk-dev] [PATCH v2] net/virtio-user: fix segfault as features change X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2018 15:20:43 -0000 On Tue, Jan 23, 2018 at 09:52:43AM +0000, Jianfeng Tan wrote: > Since commit 59fe5e17d930 ("vhost: propagate set features handling error"), > vhost does not allow to set different features without reset. > > The virito-user driver fails to reset the device in below commit. > > To fix, we send the reset message as stopping the device. > > Fixes: c12a26ee209e ("net/virtio-user: fix not properly reset device") > > Reported-by: Lei Yao > Reported-by: Tiwei Bie > Signed-off-by: Jianfeng Tan Applied to dpdk-next-virtio. Thanks. --yliu