On Tue, Oct 19, 2021 at 4:32 PM Jason Wang <jasow...@redhat.com> wrote: > > > 在 2021/10/1 下午3:06, Eugenio Pérez 写道: > > This tree is able to look for a translated address from an IOVA address. > > > > At first glance is similar to util/iova-tree. However, SVQ working on > > devices with limited IOVA space need more capabilities, like allocating > > IOVA chunks or perform reverse translations (qemu addresses to iova). > > > I don't see any reverse translation is used in the shadow code. Or > anything I missed?
Ok, it looks to me that it is used in the iova allocator. But I think it's better to decouple it to an independent allocator instead of vhost iova tree. Thanks