aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/linux/vfio_ccw.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/vfio_ccw.h')
-rw-r--r--include/uapi/linux/vfio_ccw.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/linux/vfio_ccw.h b/include/uapi/linux/vfio_ccw.h
index cbecbf0cd54f..758bf214898d 100644
--- a/include/uapi/linux/vfio_ccw.h
+++ b/include/uapi/linux/vfio_ccw.h
@@ -34,4 +34,14 @@ struct ccw_cmd_region {
__u32 ret_code;
} __packed;
+/*
+ * Used for processing commands that read the subchannel-information block
+ * Reading this region triggers a stsch() to hardware
+ * Note: this is controlled by a capability
+ */
+struct ccw_schib_region {
+#define SCHIB_AREA_SIZE 52
+ __u8 schib_area[SCHIB_AREA_SIZE];
+} __packed;
+
#endif