vfio/type1: implement notify callback
authorSteve Sistare <steven.sistare@oracle.com>
Fri, 29 Jan 2021 16:54:11 +0000 (08:54 -0800)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 1 Feb 2021 20:20:07 +0000 (13:20 -0700)
commit487ace1340536ea9b8daf8c783a397a467fe55fc
treefa0a7c8e295c34bc2a24f9d81b20d1cb36a0d396
parentec5e32940cc9d2a8a321cb7d756fb6ae45702d03
vfio/type1: implement notify callback

Implement a notify callback that remembers if the container's file
descriptor has been closed.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_type1.c