From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH v3 17/22] vhost: export APIs for live migration support Date: Fri, 31 Mar 2017 10:05:31 +0200 Message-ID: References: <1490253059-28112-1-git-send-email-yuanhan.liu@linux.intel.com> <1490705142-893-1-git-send-email-yuanhan.liu@linux.intel.com> <1490705142-893-18-git-send-email-yuanhan.liu@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: Harris James R , Liu Changpeng To: Yuanhan Liu , dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 75DD5DE0 for ; Fri, 31 Mar 2017 10:05:35 +0200 (CEST) In-Reply-To: <1490705142-893-18-git-send-email-yuanhan.liu@linux.intel.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 03/28/2017 02:45 PM, Yuanhan Liu wrote: > Export few APIs for the vhost-user driver to log the guest memory writes, > which is a must for live migration support. > > This patch basically moves vhost_log_write() and vhost_log_used_vring() > into vhost.h and then add an wrapper (the public API) to them. > > Signed-off-by: Yuanhan Liu > --- > lib/librte_vhost/rte_vhost_version.map | 2 ++ > lib/librte_vhost/rte_virtio_net.h | 43 ++++++++++++++++++++++++++++++++++ > lib/librte_vhost/vhost.c | 31 ++++++++++++++++++++++++ > lib/librte_vhost/vhost.h | 38 ++++++++++++++++++++++++++++++ > lib/librte_vhost/virtio_net.c | 36 ---------------------------- > 5 files changed, 114 insertions(+), 36 deletions(-) Reviewed-by: Maxime Coquelin Thanks, Maxime