Re: [PATCH V3 7/9] vfio: iommu driver notify callback
From: Cornelia Huck <cohuck@redhat.com>
Date: 2021-02-01 13:21:35
From: Cornelia Huck <cohuck@redhat.com>
Date: 2021-02-01 13:21:35
On Fri, 29 Jan 2021 08:54:10 -0800 Steve Sistare [off-list ref] wrote:
Define a vfio_iommu_driver_ops notify callback, for sending events to the driver. Drivers are not required to provide the callback, and may ignore any events. The handling of events is driver specific. Define the CONTAINER_CLOSE event, called when the container's file descriptor is closed. This event signifies that no further state changes will occur via container ioctl's. Signed-off-by: Steve Sistare <redacted> --- drivers/vfio/vfio.c | 5 +++++ include/linux/vfio.h | 5 +++++ 2 files changed, 10 insertions(+)
For the version in Alex' git branch: Reviewed-by: Cornelia Huck <cohuck@redhat.com>