vfio-ccw: Wire in the request callback
authorEric Farman <farman@linux.ibm.com>
Thu, 3 Dec 2020 21:35:12 +0000 (22:35 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 3 Dec 2020 23:21:08 +0000 (16:21 -0700)
commitbccce80bbd44ab50bbec761a51c6293c1ce47e34
tree35d0aad0c4d9fe4a87a40e51c8d7ae0db100d70d
parenta15ac665b9e9c90b1557499f2a46c1e89d29154a
vfio-ccw: Wire in the request callback

The device is being unplugged, so pass the request to userspace to
ask for a graceful cleanup. This should free up the thread that
would otherwise loop waiting for the device to be fully released.

Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/s390/cio/vfio_ccw_ops.c
drivers/s390/cio/vfio_ccw_private.h
include/uapi/linux/vfio.h