Re: [PATCH] vfio: fix noiommu vfio_iommu_group_get reference count

2017-08-10 Thread Alex Williamson
On Tue, 8 Aug 2017 22:44:28 +0200 Eric Auger wrote: > In vfio_iommu_group_get() we want to increase the reference > count of the iommu group. > > In noiommu case, the group does not exist and is allocated. > iommu_group_add_device() increases the group ref count. However

Re: [PATCH] vfio: fix noiommu vfio_iommu_group_get reference count

2017-08-10 Thread Alex Williamson
On Tue, 8 Aug 2017 22:44:28 +0200 Eric Auger wrote: > In vfio_iommu_group_get() we want to increase the reference > count of the iommu group. > > In noiommu case, the group does not exist and is allocated. > iommu_group_add_device() increases the group ref count. However we > then call