Re: [PATCH 2/5] vfio: Move realize() after attach_device()

2025-04-18 Thread Donald Dutile
On 4/11/25 6:17 AM, Zhenzhong Duan wrote: Previously device attaching depends on realize() getting host iommu capabilities to check dirty tracking support. Now we save a caps copy in VFIODevice and check that copy for dirty tracking support, there is no dependency any more, move realize() ca

RE: [PATCH 2/5] vfio: Move realize() after attach_device()

2025-04-14 Thread Duan, Zhenzhong
>-Original Message- >From: Cédric Le Goater >Subject: Re: [PATCH 2/5] vfio: Move realize() after attach_device() > >On 4/11/25 12:17, Zhenzhong Duan wrote: >> Previously device attaching depends on realize() getting host iommu >> capabilities to check dirty

RE: [PATCH 2/5] vfio: Move realize() after attach_device()

2025-04-14 Thread Duan, Zhenzhong
>-Original Message- >From: Philippe Mathieu-Daudé >Subject: Re: [PATCH 2/5] vfio: Move realize() after attach_device() > >Hi, > >On 11/4/25 12:17, Zhenzhong Duan wrote: >> Previously device attaching depends on realize() getting host iommu >> cap

Re: [PATCH 2/5] vfio: Move realize() after attach_device()

2025-04-11 Thread Cédric Le Goater
On 4/11/25 12:17, Zhenzhong Duan wrote: Previously device attaching depends on realize() getting host iommu capabilities to check dirty tracking support. Now we save a caps copy in VFIODevice and check that copy for dirty tracking support, there is no dependency any more, move realize() call aft

Re: [PATCH 2/5] vfio: Move realize() after attach_device()

2025-04-11 Thread Philippe Mathieu-Daudé
Hi, On 11/4/25 12:17, Zhenzhong Duan wrote: Previously device attaching depends on realize() getting host iommu capabilities to check dirty tracking support. Now we save a caps copy in VFIODevice and check that copy for dirty tracking support, there is no dependency any more, move realize() cal