summaryrefslogtreecommitdiff
path: root/include/uapi/linux/vfio.h
diff options
context:
space:
mode:
authorEric Farman <farman@linux.ibm.com>2020-12-04 00:35:12 +0300
committerAlex Williamson <alex.williamson@redhat.com>2020-12-04 02:21:08 +0300
commitbccce80bbd44ab50bbec761a51c6293c1ce47e34 (patch)
tree35d0aad0c4d9fe4a87a40e51c8d7ae0db100d70d /include/uapi/linux/vfio.h
parenta15ac665b9e9c90b1557499f2a46c1e89d29154a (diff)
downloadlinux-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.h1
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
};