[dpdk-dev] [PATCH v3 17/22] vhost: export APIs for live migration support
Maxime Coquelin
maxime.coquelin at redhat.com
Fri Mar 31 10:05:31 CEST 2017
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 <yuanhan.liu at linux.intel.com>
> ---
> 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 <maximle.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list