Skip to content
  • Jike Song's avatar
    vfio: support notifier chain in vfio_group · ccd46dba
    Jike Song authored
    
    
    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>
    ccd46dba