From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH v3 16/22] vhost: add features changed callback Date: Fri, 31 Mar 2017 09:50:41 +0200 Message-ID: <59b09560-02bb-0864-abb2-a83b5e703556@redhat.com> 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-17-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 290CBDE0 for ; Fri, 31 Mar 2017 09:50:45 +0200 (CEST) In-Reply-To: <1490705142-893-17-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: > Features could be changed after the feature negotiation. For example, > VHOST_F_LOG_ALL will be set/cleared at the start/end of live migration, > respecitively. Thus, we need a new callback to inform the application > on such change. > > Signed-off-by: Yuanhan Liu > --- > doc/guides/prog_guide/vhost_lib.rst | 6 ++++++ > lib/librte_vhost/rte_virtio_net.h | 10 +++++++++- > lib/librte_vhost/vhost_user.c | 5 +++++ > 3 files changed, 20 insertions(+), 1 deletion(-) Reviewed-by: Maxime Coquelin Thanks, Maxime