[PATCH] vhost: fix guest physical address to host physical address mapping

Maxime Coquelin maxime.coquelin at redhat.com
Tue Feb 8 12:11:11 CET 2022



On 1/17/22 17:20, Yuan Wang wrote:
> Async copy fails when looking up hpa in the gpa to hpa mapping table.
> This happens because the gpa is matched exactly in the merged
> mapping table, and the merge loses the mapping entries.
> A new range comparison method is introduced to solve this issue.
> 
> Fixes: 6563cf92380 ("vhost: fix async copy on multi-page buffers")
> 
> Signed-off-by: Yuan Wang <yuanx.wang at intel.com>
> ---
>   lib/vhost/vhost.h | 18 ++++++++++++++++--
>   1 file changed, 16 insertions(+), 2 deletions(-)
> 

Applied to dpdk-next-virtio/main.

Thanks,
Maxime



More information about the dev mailing list