aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio-blk.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-04-23 12:58:51 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-01 09:44:11 -0500
commit8b91408b620b5b244999d97540c3ec304abe7810 (patch)
treecd72096f3080851e54a0c8bbe064c306e053f09a /hw/virtio-blk.h
parentd9654a58576dae982458bdb1eb565c9876c24c22 (diff)
downloadqemu-8b91408b620b5b244999d97540c3ec304abe7810.zip
qemu-8b91408b620b5b244999d97540c3ec304abe7810.tar.gz
qemu-8b91408b620b5b244999d97540c3ec304abe7810.tar.bz2
fix virtio_blk_inhdr comment
The inhdr is at the end of the S/G list, not the beginning. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-blk.h')
-rw-r--r--hw/virtio-blk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-blk.h b/hw/virtio-blk.h
index d11f484..5ef6c36 100644
--- a/hw/virtio-blk.h
+++ b/hw/virtio-blk.h
@@ -67,7 +67,7 @@ struct virtio_blk_outhdr
#define VIRTIO_BLK_S_IOERR 1
#define VIRTIO_BLK_S_UNSUPP 2
-/* This is the first element of the write scatter-gather list */
+/* This is the last element of the write scatter-gather list */
struct virtio_blk_inhdr
{
unsigned char status;