Re: [PATCH] util: Add iova_tree_alloc

2022-02-16 Thread Peter Xu
On Tue, Feb 15, 2022 at 08:34:23PM +0100, 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 gu

[PATCH] util: Add iova_tree_alloc

2022-02-15 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