>-----Original Message----- >From: Cédric Le Goater <c...@redhat.com> >Sent: Monday, October 30, 2023 10:05 PM >Subject: Re: [PATCH v3 31/37] vfio/pci: Adapt vfio pci hot reset support with >iommufd BE > >On 10/26/23 12:30, Zhenzhong Duan wrote: >> As pci hot reset path need to reference pci specific functions >> and data structures, adding container level callback functions >> for legacy and iommufd BE and referencing those pci specific >> func/data is no better than implementing reset support with >> iommufd BE directly in pci.c > >yes but it includes a large section of IOMMUFD code in pci.c >which is ugly. Please make this an VFIOIOMMUOps handler instead.
OK, let me try it. Thanks Zhenzhong