Re: [PATCH 0/6] VIRTIO-IOMMU/VFIO: Revert IOMMUDevice clear and fix hotunplug

2024-07-16 Thread Eric Auger
Hi Cédric, On 7/16/24 16:02, Cédric Le Goater wrote: > On 7/16/24 11:45, Eric Auger wrote: >> 1b889d6e39c3 ("virtio-iommu: Clear IOMMUDevice when VFIO >> device is unplugged" fixes the VFIO hotplug/hotunplug/hotplug >> sequence by clearing the IOMMUDevice which backs the VFIO device. >> However th

Re: [PATCH 0/6] VIRTIO-IOMMU/VFIO: Revert IOMMUDevice clear and fix hotunplug

2024-07-16 Thread Cédric Le Goater
On 7/16/24 11:45, Eric Auger wrote: 1b889d6e39c3 ("virtio-iommu: Clear IOMMUDevice when VFIO device is unplugged" fixes the VFIO hotplug/hotunplug/hotplug sequence by clearing the IOMMUDevice which backs the VFIO device. However this brings other troubles such as a memory corruption. Even when f

[PATCH 0/6] VIRTIO-IOMMU/VFIO: Revert IOMMUDevice clear and fix hotunplug

2024-07-16 Thread Eric Auger
1b889d6e39c3 ("virtio-iommu: Clear IOMMUDevice when VFIO device is unplugged" fixes the VFIO hotplug/hotunplug/hotplug sequence by clearing the IOMMUDevice which backs the VFIO device. However this brings other troubles such as a memory corruption. Even when fixing some cleanups that were missed o