Re: [PATCH v15 3/9] virtio-iommu: Implement attach/detach command

2020-02-08 Thread Auger Eric
Hi Peter, On 2/8/20 2:41 PM, Peter Xu wrote: > On Sat, Feb 08, 2020 at 01:00:16PM +0100, Eric Auger wrote: >> This patch implements the endpoint attach/detach to/from >> a domain. >> >> Domain and endpoint internal datatypes are introduced. >> Both are stored in RB trees. The domain owns a list of

Re: [PATCH v15 3/9] virtio-iommu: Implement attach/detach command

2020-02-08 Thread Peter Xu
On Sat, Feb 08, 2020 at 01:00:16PM +0100, Eric Auger wrote: > This patch implements the endpoint attach/detach to/from > a domain. > > Domain and endpoint internal datatypes are introduced. > Both are stored in RB trees. The domain owns a list of > endpoints attached to it. Also helpers to get/put

[PATCH v15 3/9] virtio-iommu: Implement attach/detach command

2020-02-08 Thread Eric Auger
This patch implements the endpoint attach/detach to/from a domain. Domain and endpoint internal datatypes are introduced. Both are stored in RB trees. The domain owns a list of endpoints attached to it. Also helpers to get/put end points and domains are introduced. As for the IOMMU memory regions