Re: [PATCH] virtio-iommu: Clear IOMMUDevice when VFIO device is unplugged

2024-07-01 Thread Eric Auger
Hi Cédric, On 7/1/24 12:14, Cédric Le Goater wrote: > When a VFIO device is hoplugged in a VM using virtio-iommu, IOMMUPciBus > and IOMMUDevice cache entries are created in the .get_address_space() > handler of the machine IOMMU device. However, these entries are never > destroyed, not even when

Re: [PATCH] virtio-iommu: Clear IOMMUDevice when VFIO device is unplugged

2024-07-01 Thread Eric Auger
Hi Cédric, On 7/1/24 12:14, Cédric Le Goater wrote: > When a VFIO device is hoplugged in a VM using virtio-iommu, IOMMUPciBus > and IOMMUDevice cache entries are created in the .get_address_space() > handler of the machine IOMMU device. However, these entries are never > destroyed, not even when

[PATCH] virtio-iommu: Clear IOMMUDevice when VFIO device is unplugged

2024-07-01 Thread Cédric Le Goater
When a VFIO device is hoplugged in a VM using virtio-iommu, IOMMUPciBus and IOMMUDevice cache entries are created in the .get_address_space() handler of the machine IOMMU device. However, these entries are never destroyed, not even when the VFIO device is detached from the machine. This can lead