aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/linux/vfio_ccw.h
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2020-06-09 16:26:53 +0200
committerCornelia Huck <cohuck@redhat.com>2020-06-18 12:13:36 +0200
commitf76b348ec78fb7316bbcc981127ae8894cfcc609 (patch)
treefbc7a9d300fa0367ae3d93580dfa2493d20649b8 /linux-headers/linux/vfio_ccw.h
parent26bf4a29213b432eb390726c698a1915550a9cf9 (diff)
downloadqemu-f76b348ec78fb7316bbcc981127ae8894cfcc609.zip
qemu-f76b348ec78fb7316bbcc981127ae8894cfcc609.tar.gz
qemu-f76b348ec78fb7316bbcc981127ae8894cfcc609.tar.bz2
Linux headers: update
Update against Linux 5.8-rc1. Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'linux-headers/linux/vfio_ccw.h')
-rw-r--r--linux-headers/linux/vfio_ccw.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/linux-headers/linux/vfio_ccw.h b/linux-headers/linux/vfio_ccw.h
index fcc3e69..516496f 100644
--- a/linux-headers/linux/vfio_ccw.h
+++ b/linux-headers/linux/vfio_ccw.h
@@ -34,4 +34,23 @@ struct ccw_cmd_region {
__u32 ret_code;
} __attribute__((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];
+} __attribute__((packed));
+
+/*
+ * Used for returning a Channel Report Word to userspace.
+ * Note: this is controlled by a capability
+ */
+struct ccw_crw_region {
+ __u32 crw;
+ __u32 pad;
+} __attribute__((packed));
+
#endif