[dpdk-dev] [PATCH v4 5/5] vhost: add apis for live migration

Maxime Coquelin maxime.coquelin at redhat.com
Sat Mar 31 09:39:32 CEST 2018



On 03/10/2018 11:01 AM, Zhihong Wang wrote:
> This patch adds APIs to enable live migration for non-builtin data paths.
> 
> At src side, last_avail/used_idx from the device need to be set into the
> virtio_net structure, and the log_base and log_size from the virtio_net
> structure need to be set into the device.
> 
> At dst side, last_avail/used_idx need to be read from the virtio_net
> structure and set into the device.
> 
> Signed-off-by: Zhihong Wang <zhihong.wang at intel.com>
> ---
>   lib/librte_vhost/rte_vhost.h           | 51 +++++++++++++++++++++++++++
>   lib/librte_vhost/rte_vhost_version.map |  3 ++
>   lib/librte_vhost/vhost.c               | 63 ++++++++++++++++++++++++++++++++++
>   3 files changed, 117 insertions(+)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime


More information about the dev mailing list