qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qemu-s390x] [RFC PATCH 1/5] vfio: linux-headers update for vfio-ccw


From: Dong Jia Shi
Subject: [qemu-s390x] [RFC PATCH 1/5] vfio: linux-headers update for vfio-ccw
Date: Thu, 11 Jan 2018 04:04:55 +0100

This is a placeholder for a linux-headers update.

Signed-off-by: Dong Jia Shi <address@hidden>
---
 linux-headers/linux/vfio.h     | 2 ++
 linux-headers/linux/vfio_ccw.h | 6 ++++++
 2 files changed, 8 insertions(+)

diff --git a/linux-headers/linux/vfio.h b/linux-headers/linux/vfio.h
index 4312e961ff..24d85be022 100644
--- a/linux-headers/linux/vfio.h
+++ b/linux-headers/linux/vfio.h
@@ -457,11 +457,13 @@ enum {
 
 enum {
        VFIO_CCW_CONFIG_REGION_INDEX,
+       VFIO_CCW_SCHIB_REGION_INDEX,
        VFIO_CCW_NUM_REGIONS
 };
 
 enum {
        VFIO_CCW_IO_IRQ_INDEX,
+       VFIO_CCW_CHP_IRQ_INDEX,
        VFIO_CCW_NUM_IRQS
 };
 
diff --git a/linux-headers/linux/vfio_ccw.h b/linux-headers/linux/vfio_ccw.h
index 5bf96c3812..4944dd946e 100644
--- a/linux-headers/linux/vfio_ccw.h
+++ b/linux-headers/linux/vfio_ccw.h
@@ -22,4 +22,10 @@ struct ccw_io_region {
        __u32   ret_code;
 } __attribute__((packed));
 
+struct ccw_schib_region {
+        __u8   cc;
+#define SCHIB_AREA_SIZE 52
+        __u8   schib_area[SCHIB_AREA_SIZE];
+} __attribute__((packed));
+
 #endif
-- 
2.13.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]