diff options
author | 2020-12-03 22:35:12 +0100 | |
---|---|---|
committer | 2020-12-03 16:21:08 -0700 | |
commit | bccce80bbd44ab50bbec761a51c6293c1ce47e34 (patch) | |
tree | 35d0aad0c4d9fe4a87a40e51c8d7ae0db100d70d /include | |
parent | vfio-mdev: Wire in a request handler for mdev parent (diff) | |
download | wireguard-linux-bccce80bbd44ab50bbec761a51c6293c1ce47e34.tar.xz wireguard-linux-bccce80bbd44ab50bbec761a51c6293c1ce47e34.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/vfio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h index 2f313a238a8f..d1812777139f 100644 --- a/include/uapi/linux/vfio.h +++ b/include/uapi/linux/vfio.h @@ -820,6 +820,7 @@ enum { enum { VFIO_CCW_IO_IRQ_INDEX, VFIO_CCW_CRW_IRQ_INDEX, + VFIO_CCW_REQ_IRQ_INDEX, VFIO_CCW_NUM_IRQS }; |