summaryrefslogtreecommitdiff
path: root/virtio-v1.0-wd01-part1-specification.txt
diff options
context:
space:
mode:
authorrusty <rusty@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-09-25 04:42:10 +0000
committerrusty <rusty@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-09-25 04:42:10 +0000
commit5e19006aee94bf6f83e1d61fbf92a729223ee550 (patch)
tree8e266602e1a895561aed32a4eee4eb845277a539 /virtio-v1.0-wd01-part1-specification.txt
parent8ec49770cf655f19cefaf4bc76f4ab313752d9b2 (diff)
2.4.2.5: Remove ioprio field.
Leave a reserved field in there for alignment. See: https://tools.oasis-open.org/issues/browse/VIRTIO-20 Approved OASIS meeting 2013-09-24. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@40 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'virtio-v1.0-wd01-part1-specification.txt')
-rw-r--r--virtio-v1.0-wd01-part1-specification.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/virtio-v1.0-wd01-part1-specification.txt b/virtio-v1.0-wd01-part1-specification.txt
index d92a576..b905a70 100644
--- a/virtio-v1.0-wd01-part1-specification.txt
+++ b/virtio-v1.0-wd01-part1-specification.txt
@@ -1660,7 +1660,7 @@ the device (not necessarily in order). Each request is of form:
struct virtio_blk_req {
u32 type;
- u32 ioprio;
+ u32 reserved;
u64 sector;
char data[][512];
u8 status;
@@ -1675,10 +1675,6 @@ VIRTIO_BLK_T_FLUSH_OUT[23]).
#define VIRTIO_BLK_T_FLUSH 4
#define VIRTIO_BLK_T_FLUSH_OUT 5
-The ioprio field is a hint about the relative priorities of
-requests to the device: higher numbers indicate more important
-requests.
-
The sector number indicates the offset (multiplied by 512) where
the read or write is to occur. This field is unused and set to 0
for scsi packet commands and for flush commands.
@@ -1693,6 +1689,10 @@ error or VIRTIO_BLK_S_UNSUPP for a request unsupported by host:
2.4.2.5.1 Legacy Interface: Device Operation
------------------------
+The 'reserved' field was previously called ioprio. The ioprio field
+is a hint about the relative priorities of requests to the device:
+higher numbers indicate more important requests.
+
If the device has VIRTIO_BLK_F_SCSI feature, it can also support
scsi packet command requests, each of these requests is of form: