Re: [RFC 07/18] vfio: Add base object for VFIOContainer

2022-05-03 Thread Yi Liu
On 2022/4/29 14:29, David Gibson wrote: On Thu, Apr 14, 2022 at 03:46:59AM -0700, Yi Liu wrote: Qomify the VFIOContainer object which acts as a base class for a container. This base class is derived into the legacy VFIO container and later on, into the new iommufd based container. You certainl

Re: [RFC 07/18] vfio: Add base object for VFIOContainer

2022-04-28 Thread David Gibson
On Thu, Apr 14, 2022 at 03:46:59AM -0700, Yi Liu wrote: > Qomify the VFIOContainer object which acts as a base class for a > container. This base class is derived into the legacy VFIO container > and later on, into the new iommufd based container. You certainly need the abstraction, but I'm not su

[RFC 07/18] vfio: Add base object for VFIOContainer

2022-04-14 Thread Yi Liu
Qomify the VFIOContainer object which acts as a base class for a container. This base class is derived into the legacy VFIO container and later on, into the new iommufd based container. The base class implements generic code such as code related to memory_listener and address space management wher