Skip to content
Commit ccd46dba authored by Jike Song's avatar Jike Song Committed by Alex Williamson
Browse files

vfio: support notifier chain in vfio_group



Beyond vfio_iommu events, users might also be interested in
vfio_group events. For example, if a vfio_group is used along
with Qemu/KVM, whenever kvm pointer is set to/cleared from the
vfio_group, users could be notified.

Currently only VFIO_GROUP_NOTIFY_SET_KVM supported.

Cc: Kirti Wankhede <kwankhede@nvidia.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: default avatarJike Song <jike.song@intel.com>
[aw: remove use of new typedef]
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 22195cbd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment