aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/vfio.h
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2015-02-06 15:05:06 -0700
committerAlex Williamson <alex.williamson@redhat.com>2015-02-06 15:05:06 -0700
commit4a68810dbbb4664fe4a9ac1be4d1c0e34a9b58f5 (patch)
tree991c071b48d4e049f6cf800a5fea12a6dfe989e2 /include/linux/vfio.h
parentvfio: Add device tracking during unbind (diff)
downloadwireguard-linux-4a68810dbbb4664fe4a9ac1be4d1c0e34a9b58f5.tar.xz
wireguard-linux-4a68810dbbb4664fe4a9ac1be4d1c0e34a9b58f5.zip
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 <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux/vfio.h')
0 files changed, 0 insertions, 0 deletions