mdev: Send uevents around parent device registration
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 11 Jul 2019 19:26:52 +0000 (13:26 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 11 Jul 2019 19:26:52 +0000 (13:26 -0600)
commit1e4d09d2212d9e230b967f57bc8df463527dbd75
treed721a1c99d8aef6470e0d0cffc5fd5eb2de4322c
parentb46c820f8f5a03619f21fc4ed2e42848017aefcd
mdev: Send uevents around parent device registration

This allows udev to trigger rules when a parent device is registered
or unregistered from mdev.

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/mdev/mdev_core.c