Re: [PATCH v2] mdev: Send uevents around parent device registration
From: Cornelia Huck
Date: Mon Jul 01 2019 - 11:07:05 EST
On Mon, 01 Jul 2019 08:54:44 -0600
Alex Williamson <alex.williamson@xxxxxxxxxx> wrote:
> This allows udev to trigger rules when a parent device is registered
> or unregistered from mdev.
>
> Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
> ---
>
> v2: Don't remove the dev_info(), Kirti requested they stay and
> removing them is only tangential to the goal of this change.
>
> drivers/vfio/mdev/mdev_core.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
Not that fond of the dev_info(), but this still looks sane.
Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>