From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH 4/6] vhost: workaround stale vring base Date: Mon, 9 May 2016 11:22:04 -0700 Message-ID: <20160509182204.GF5641@yliu-dev.sh.intel.com> References: <1462603224-29510-1-git-send-email-yuanhan.liu@linux.intel.com> <1462603224-29510-5-git-send-email-yuanhan.liu@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" , "Michael S. Tsirkin" To: "Xie, Huawei" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9E0FD8D38 for ; Mon, 9 May 2016 20:17:31 +0200 (CEST) Content-Disposition: inline In-Reply-To: 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" On Mon, May 09, 2016 at 04:25:38PM +0000, Xie, Huawei wrote: > On 5/7/2016 2:36 PM, Yuanhan Liu wrote: > > However, Michael claims some concerns: he made a good point: a crash > > is happening means some memory is corrupted, and it could be the virtio > > memory being corrupted. In such case, nothing will work without the > > reset. > > I don't get this point. What is the scenario? It's not a specific scenario, just a hypothetic one. > For the crash of virtio frontend driver, i remember we discussed before, > we have no good recipe but some workaround. The user space frontend > driver crashes, and its memory is reallocated to other instances, but > vhost is still writing to that memory. However this has nothing to do > with vhost reconnect. Hmm, yes, seems like another good point to me. This patch seems like a fix but not a workaround then :) --yliu