Re: [PATCH 04/26] vfio: Add struct to hold KVM assets and dedup group vs. iommufd code

2023-09-28 Thread Alex Williamson
On Fri, 15 Sep 2023 17:30:56 -0700 Sean Christopherson wrote: > Add a struct to hold the KVM assets need to manage and pass along KVM > references to VFIO devices. Providing a common struct deduplicates the > group vs. iommufd code, and will make it easier to rework the attachment > logic so tha

[PATCH 04/26] vfio: Add struct to hold KVM assets and dedup group vs. iommufd code

2023-09-15 Thread Sean Christopherson
Add a struct to hold the KVM assets need to manage and pass along KVM references to VFIO devices. Providing a common struct deduplicates the group vs. iommufd code, and will make it easier to rework the attachment logic so that VFIO doesn't have to do a symbol lookup to retrieve the get/put helper