On Tue, Aug 24, 2021 at 02:25:08PM -0600, Alex Williamson wrote: > > @@ -1988,8 +1979,6 @@ static void vfio_pci_remove(struct pci_dev *pdev) > > vfio_uninit_group_dev(&vdev->vdev); > > vfio_pci_vga_uninit(vdev); > > > > - vfio_iommu_group_put(pdev->dev.iommu_group, &pdev->dev); > > - > > if (!disable_idle_d3) > > vfio_pci_set_power_state(vdev, PCI_D0); > > > > > I think this turns into the patch below on top of Yishai's > vfio-pci-core series. Please verify. If you'd like something > different, please post an update. Thanks, It appears correct to me, thanks Jason