summaryrefslogtreecommitdiff
path: root/include/uapi/linux/vfio.h
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2018-07-19 18:53:08 +0300
committerCornelia Huck <cohuck@redhat.com>2019-04-24 15:18:51 +0300
commitdb8e5d17ac03a65e2e0ee0ba50bf61a99741d871 (patch)
tree12523fbcf722c26e8ba1bf052f762d149b3ba9a3 /include/uapi/linux/vfio.h
parent4f76617378ee97c557b526cb58d3c61eb0a9c963 (diff)
downloadlinux-db8e5d17ac03a65e2e0ee0ba50bf61a99741d871.tar.xz
vfio-ccw: add capabilities chain
Allow to extend the regions used by vfio-ccw. The first user will be handling of halt and clear subchannel. Reviewed-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Farhan Ali <alifm@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include/uapi/linux/vfio.h')
-rw-r--r--include/uapi/linux/vfio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
index 02bb7ad6e986..56e2413d3e00 100644
--- a/include/uapi/linux/vfio.h
+++ b/include/uapi/linux/vfio.h
@@ -353,6 +353,8 @@ struct vfio_region_gfx_edid {
#define VFIO_DEVICE_GFX_LINK_STATE_DOWN 2
};
+#define VFIO_REGION_TYPE_CCW (2)
+
/*
* 10de vendor sub-type
*