From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH] vhost: Introduce vhost-user's REPLY_ACK feature Date: Thu, 12 Jan 2017 12:03:44 +0800 Message-ID: <20170112040344.GC9770@yliu-dev.sh.intel.com> References: <20161212175400.7978-1-maxime.coquelin@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Maxime Coquelin Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 5A5FEF91E for ; Thu, 12 Jan 2017 05:01:33 +0100 (CET) Content-Disposition: inline In-Reply-To: <20161212175400.7978-1-maxime.coquelin@redhat.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Dec 12, 2016 at 06:54:00PM +0100, Maxime Coquelin wrote: > REPLY_ACK features provide a generic way for QEMU to ensure both > completion and success of a request. > > As described in vhost-user spec in QEMU repository, QEMU sets > VHOST_USER_NEED_REPLY flag (bit 3) when expecting a reply_ack from > the backend. Backend must reply with 0 for success or non-zero > otherwise when flag is set. > > Currently, only VHOST_USER_SET_MEM_TABLE request implements reply_ack, > in order to synchronize mapping updates. > > This patch enables REPLY_ACK feature generally, but only checks error > code for VHOST_USER_SET_MEM_TABLE. > > Signed-off-by: Maxime Coquelin Applied to dpdk-next-virtio. Thanks. --yliu