From: Alex Williamson Date: Fri, 6 Feb 2015 22:05:06 +0000 (-0700) Subject: vfio: Tie IOMMU group reference to vfio group X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~18^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a68810dbbb4664fe4a9ac1be4d1c0e34a9b58f5;p=pandora-kernel.git vfio: Tie IOMMU group reference to vfio group Move the iommu_group reference from the device to the vfio_group. This ensures that the iommu_group persists as long as the vfio_group remains. This can be important if all of the device from an iommu_group are removed, but we still have an outstanding vfio_group reference; we can still walk the empty list of devices. Signed-off-by: Alex Williamson --- Reading git-diff-tree failed