RE: [PATCH v2 11/12] vfio/common: Introduce two kinds of VFIO device lists

2023-09-27 Thread Duan, Zhenzhong
Hi Eric, >-Original Message- >From: Eric Auger >Sent: Wednesday, September 27, 2023 9:14 PM >Subject: Re: [PATCH v2 11/12] vfio/common: Introduce two kinds of VFIO device >lists > >Hi Zhenzhong, >On 9/26/23 13:32, Zhenzhong Duan wrote: >> In VFIO subsy

Re: [PATCH v2 11/12] vfio/common: Introduce two kinds of VFIO device lists

2023-09-27 Thread Eric Auger
Hi Zhenzhong, On 9/26/23 13:32, Zhenzhong Duan wrote: > In VFIO subsystem, there are different VFIO device iteration requirements. > One requirement is to iterate all VFIO devices, the other is to iterate > VFIO device in same container. > > Currently VFIO device is iterated through VFIO group list

[PATCH v2 11/12] vfio/common: Introduce two kinds of VFIO device lists

2023-09-26 Thread Zhenzhong Duan
In VFIO subsystem, there are different VFIO device iteration requirements. One requirement is to iterate all VFIO devices, the other is to iterate VFIO device in same container. Currently VFIO device is iterated through VFIO group list which is group perceivable and less efficient. Introduce two