qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH v3 31/37] vfio/pci: Adapt vfio pci hot reset support with iom


From: Duan, Zhenzhong
Subject: RE: [PATCH v3 31/37] vfio/pci: Adapt vfio pci hot reset support with iommufd BE
Date: Tue, 31 Oct 2023 02:27:39 +0000


>-----Original Message-----
>From: Cédric Le Goater <clg@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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]