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

2022-02-08 Thread Ferruh Yigit
On 2/8/2022 11:11 AM, Maxime Coquelin wrote: 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 met

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

2022-02-08 Thread Maxime Coquelin
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

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

2022-02-01 Thread Maxime Coquelin
Hi Yuan, 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.

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

2022-01-17 Thread Yuan Wang
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