Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface

2023-10-24 Thread Cédric Le Goater
Hello Zhenzhong, you would need to do that for all types for vfio devices, ap, ccw, platform. Looks heavy to me. Why would we need to use a different vfio-pci-* device while we could switch the iommu backend according to the "iommufd" prop presence. The initial discussion was about QOMyfying

RE: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface

2023-10-24 Thread Duan, Zhenzhong
>-Original Message- >From: Cédric Le Goater >Sent: Monday, October 23, 2023 11:29 PM > >Subject: Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and >targetted interface > >On 10/20/23 10:19, Eric Auger wrote: >> Hi, >> On 10/20/23

Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface

2023-10-23 Thread Cédric Le Goater
On 10/20/23 10:19, Eric Auger wrote: Hi, On 10/20/23 07:48, Duan, Zhenzhong wrote: Hi Cédric, -Original Message- From: Cédric Le Goater Sent: Thursday, October 19, 2023 8:18 PM Subject: Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface On 10

RE: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface

2023-10-20 Thread Duan, Zhenzhong
>-Original Message- >From: Eric Auger >Sent: Friday, October 20, 2023 4:19 PM >Subject: Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and >targetted interface > >Hi, >On 10/20/23 07:48, Duan, Zhenzhong wrote: >> Hi Cédric, >> >

Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface

2023-10-20 Thread Eric Auger
Hi, On 10/20/23 07:48, Duan, Zhenzhong wrote: > Hi Cédric, > >> -Original Message- >> From: Cédric Le Goater >> Sent: Thursday, October 19, 2023 8:18 PM >> Subject: Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer >> and >> t

RE: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface

2023-10-19 Thread Duan, Zhenzhong
Hi Cédric, >-Original Message- >From: Cédric Le Goater >Sent: Thursday, October 19, 2023 8:18 PM >Subject: Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and >targetted interface > >On 10/19/23 04:29, Duan, Zhenzhong wrote: >>> -

Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface

2023-10-19 Thread Cédric Le Goater
On 10/19/23 04:29, Duan, Zhenzhong wrote: -Original Message- From: Cédric Le Goater Sent: Wednesday, October 18, 2023 4:04 PM Subject: Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface On 10/18/23 04:41, Duan, Zhenzhong wrote: Hi Cédric

RE: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface

2023-10-18 Thread Duan, Zhenzhong
>-Original Message- >From: Cédric Le Goater >Sent: Wednesday, October 18, 2023 4:04 PM >Subject: Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and >targetted interface > >On 10/18/23 04:41, Duan, Zhenzhong wrote: >> Hi Cédric, &

Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface

2023-10-18 Thread Cédric Le Goater
On 10/18/23 04:41, Duan, Zhenzhong wrote: Hi Cédric, -Original Message- From: Cédric Le Goater Sent: Tuesday, October 17, 2023 11:51 PM Subject: Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface On 10/16/23 10:31, Zhenzhong Duan wrote: From

RE: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface

2023-10-17 Thread Duan, Zhenzhong
Hi Cédric, >-Original Message- >From: Cédric Le Goater >Sent: Tuesday, October 17, 2023 11:51 PM >Subject: Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and >targetted interface > >On 10/16/23 10:31, Zhenzhong Duan wrote: >> From: Eric Au

Re: [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface

2023-10-17 Thread Cédric Le Goater
On 10/16/23 10:31, Zhenzhong Duan wrote: From: Eric Auger Introduce a dumb VFIOContainer base object and its targetted interface. This is willingly not a QOM object because we don't want it to be visible from the user interface. The VFIOContainer will be smoothly populated in subsequent