diff options
author | Jike Song <[email protected]> | 2016-12-01 13:20:05 +0800 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2016-12-01 09:38:47 -0700 |
commit | 22195cbd3451a75abaf30651a61cf85c89061327 (patch) | |
tree | 9178b97be1c3800c8832adabde709868e452a130 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d256459fae4dba66d50850f2d948306503818913 (diff) |
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 <[email protected]>
Cc: Xiao Guangrong <[email protected]>
Reviewed-by: Kirti Wankhede <[email protected]>
Signed-off-by: Jike Song <[email protected]>
[aw: merge with commit 816ca69ea9c7 ("vfio: Fix handling of error returned by 'vfio_group_get_from_dev()'"), remove typedef]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions