Re: [PATCH v9 2/7] vfio/type1: vfio_find_dma accepting a type argument

2016-05-10 Thread Eric Auger
Hi Alex, On 05/10/2016 12:49 AM, Alex Williamson wrote: > On Wed, 4 May 2016 11:54:13 + > Eric Auger wrote: > >> In our RB-tree we now have slots of different types (USER and RESERVED). >> It becomes useful to be able to search for dma slots of a specific type or >>

Re: [PATCH v9 2/7] vfio/type1: vfio_find_dma accepting a type argument

2016-05-09 Thread Alex Williamson
On Wed, 4 May 2016 11:54:13 + Eric Auger wrote: > In our RB-tree we now have slots of different types (USER and RESERVED). > It becomes useful to be able to search for dma slots of a specific type or > any type. This patch proposes an implementation for that modality

[PATCH v9 2/7] vfio/type1: vfio_find_dma accepting a type argument

2016-05-04 Thread Eric Auger
In our RB-tree we now have slots of different types (USER and RESERVED). It becomes useful to be able to search for dma slots of a specific type or any type. This patch proposes an implementation for that modality and also changes the existing callers using the USER type. Signed-off-by: Eric