Re: [PATCH v4 08/14] util: Add iova_tree_alloc_map

2022-03-04 Thread Eugenio Perez Martin
On Fri, Mar 4, 2022 at 3:11 AM Liuxiangdong wrote: > > > > On 2022/3/4 2:51, Eugenio Pérez wrote: > > This iova tree function allows it to look for a hole in allocated > > regions and return a totally new translation for a given translated > > address. > > > > It's usage is mainly to allow devices

Re: [PATCH v4 08/14] util: Add iova_tree_alloc_map

2022-03-03 Thread Liuxiangdong via
On 2022/3/4 2:51, Eugenio Pérez wrote: This iova tree function allows it to look for a hole in allocated regions and return a totally new translation for a given translated address. It's usage is mainly to allow devices to access qemu address space, remapping guest's one into a new iova space

[PATCH v4 08/14] util: Add iova_tree_alloc_map

2022-03-03 Thread Eugenio Pérez
This iova tree function allows it to look for a hole in allocated regions and return a totally new translation for a given translated address. It's usage is mainly to allow devices to access qemu address space, remapping guest's one into a new iova space where qemu can add chunks of addresses. Si