diff options
author | Jike Song <jike.song@intel.com> | 2016-12-01 08:20:05 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-12-01 19:38:47 +0300 |
commit | 22195cbd3451a75abaf30651a61cf85c89061327 (patch) | |
tree | 9178b97be1c3800c8832adabde709868e452a130 /include/linux/elf-fdpic.h | |
parent | d256459fae4dba66d50850f2d948306503818913 (diff) | |
download | linux-22195cbd3451a75abaf30651a61cf85c89061327.tar.xz |
vfio: vfio_register_notifier: classify iommu notifier
Currently vfio_register_notifier assumes that there is only one
notifier chain, which is in vfio_iommu. However, the user might
also be interested in events other than vfio_iommu, for example,
vfio_group. Refactor vfio_{un}register_notifier implementation
to make it feasible.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Jike Song <jike.song@intel.com>
[aw: merge with commit 816ca69ea9c7 ("vfio: Fix handling of error returned by 'vfio_group_get_from_dev()'"), remove typedef]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux/elf-fdpic.h')
0 files changed, 0 insertions, 0 deletions