RE: [RFC PATCH v4 22/24] vfio/pci: Adapt vfio pci hot reset support with iommufd BE

2023-08-17 Thread Duan, Zhenzhong
>-Original Message- >From: Nicolin Chen >Sent: Thursday, August 17, 2023 1:26 PM >Subject: Re: [RFC PATCH v4 22/24] vfio/pci: Adapt vfio pci hot reset support >with iommufd BE > >On Wed, Jul 12, 2023 at 03:25:26PM +0800, Zhenzhong Duan wrote: > >> +#i

Re: [RFC PATCH v4 22/24] vfio/pci: Adapt vfio pci hot reset support with iommufd BE

2023-08-16 Thread Nicolin Chen
On Wed, Jul 12, 2023 at 03:25:26PM +0800, Zhenzhong Duan wrote: > +#ifdef CONFIG_IOMMUFD > +static VFIODevice *vfio_pci_iommufd_binded(__u32 devid) > +{ > +VFIOAddressSpace *space; > +VFIOContainer *bcontainer; > +VFIOIOMMUFDContainer *container; > +VFIOIOASHwpt *hwpt; > +