summaryrefslogtreecommitdiff
path: root/virtio-v1.0-wd01-part1-specification.txt
diff options
context:
space:
mode:
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: