diff options
author | Eric Farman <farman@linux.ibm.com> | 2020-12-04 00:35:12 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-12-04 02:21:08 +0300 |
commit | bccce80bbd44ab50bbec761a51c6293c1ce47e34 (patch) | |
tree | 35d0aad0c4d9fe4a87a40e51c8d7ae0db100d70d /include/uapi/linux/vfio.h | |
parent | a15ac665b9e9c90b1557499f2a46c1e89d29154a (diff) | |
download | linux-bccce80bbd44ab50bbec761a51c6293c1ce47e34.tar.xz |
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/uapi/linux/vfio.h')
-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 }; |