Go to the documentation of this file.
9 #ifndef __XEN_PUBLIC_IO_BLKIF_H__
10 #define __XEN_PUBLIC_IO_BLKIF_H__
33 #define BLKIF_OP_READ 0
34 #define BLKIF_OP_WRITE 1
45 #define BLKIF_OP_WRITE_BARRIER 2
59 #define BLKIF_OP_FLUSH_DISKCACHE 3
103 #define BLKIF_OP_DISCARD 5
110 #define BLKIF_MAX_SEGMENTS_PER_REQUEST 11
130 #define BLKIF_DISCARD_SECURE (1<<0)
159 #define BLKIF_RSP_EOPNOTSUPP -2
161 #define BLKIF_RSP_ERROR -1
163 #define BLKIF_RSP_OKAY 0
171 #define VDISK_CDROM 0x1
172 #define VDISK_REMOVABLE 0x2
173 #define VDISK_READONLY 0x4
177 #define XEN_IDE0_MAJOR 3
178 #define XEN_IDE1_MAJOR 22
179 #define XEN_SCSI_DISK0_MAJOR 8
180 #define XEN_SCSI_DISK1_MAJOR 65
181 #define XEN_SCSI_DISK2_MAJOR 66
182 #define XEN_SCSI_DISK3_MAJOR 67
183 #define XEN_SCSI_DISK4_MAJOR 68
184 #define XEN_SCSI_DISK5_MAJOR 69
185 #define XEN_SCSI_DISK6_MAJOR 70
186 #define XEN_SCSI_DISK7_MAJOR 71
187 #define XEN_SCSI_DISK8_MAJOR 128
188 #define XEN_SCSI_DISK9_MAJOR 129
189 #define XEN_SCSI_DISK10_MAJOR 130
190 #define XEN_SCSI_DISK11_MAJOR 131
191 #define XEN_SCSI_DISK12_MAJOR 132
192 #define XEN_SCSI_DISK13_MAJOR 133
193 #define XEN_SCSI_DISK14_MAJOR 134
194 #define XEN_SCSI_DISK15_MAJOR 135