[dpdk-dev] [PATCH v6 3/5] vhost: handle memory hotplug for async vhost
Maxime Coquelin
maxime.coquelin at redhat.com
Wed Jul 21 16:32:29 CEST 2021
On 7/19/21 10:10 AM, Cheng Jiang wrote:
> From: Jiayu Hu <jiayu.hu at intel.com>
>
> When the guest memory is hotplugged, the vhost application which
> enables DMA acceleration must stop DMA transfers before the vhost
> re-maps the guest memory.
>
> This patch is to notify the vhost application of stopping DMA
> transfers.
>
> Signed-off-by: Jiayu Hu <jiayu.hu at intel.com>
> ---
> lib/vhost/vhost_user.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list