From 5e19006aee94bf6f83e1d61fbf92a729223ee550 Mon Sep 17 00:00:00 2001 From: rusty Date: Wed, 25 Sep 2013 04:42:10 +0000 Subject: 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 git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@40 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- virtio-v1.0-wd01-part1-specification.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'virtio-v1.0-wd01-part1-specification.txt') 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: -- cgit v1.2.3