Re: [PATCH for-9.0 v2 00/10] vfio: Introduce a VFIOIOMMUClass

2023-12-21 Thread Cédric Le Goater
On 12/20/23 21:35, Eric Farman wrote: On Tue, 2023-12-19 at 07:58 +0100, Cédric Le Goater wrote: Hello, The VFIO object hierarchy has some constraints because each VFIO type has a dual nature: a VFIO nature for passthrough support and a bus nature (PCI, AP, CCW, Platform) for its initial presen

Re: [PATCH for-9.0 v2 00/10] vfio: Introduce a VFIOIOMMUClass

2023-12-20 Thread Eric Farman
On Tue, 2023-12-19 at 07:58 +0100, Cédric Le Goater wrote: > Hello, > > The VFIO object hierarchy has some constraints because each VFIO type > has a dual nature: a VFIO nature for passthrough support and a bus > nature (PCI, AP, CCW, Platform) for its initial presentation. The above caught my at

Re: [PATCH for-9.0 v2 00/10] vfio: Introduce a VFIOIOMMUClass

2023-12-20 Thread Cédric Le Goater
On 12/19/23 07:58, Cédric Le Goater wrote: Hello, The VFIO object hierarchy has some constraints because each VFIO type has a dual nature: a VFIO nature for passthrough support and a bus nature (PCI, AP, CCW, Platform) for its initial presentation. It seemed the best approach made because multi-

[PATCH for-9.0 v2 00/10] vfio: Introduce a VFIOIOMMUClass

2023-12-18 Thread Cédric Le Goater
Hello, The VFIO object hierarchy has some constraints because each VFIO type has a dual nature: a VFIO nature for passthrough support and a bus nature (PCI, AP, CCW, Platform) for its initial presentation. It seemed the best approach made because multi-inheritance is not feasible with QOM and both