Commit 8b91408b620b5b244999d97540c3ec304abe7810

Authored by Christoph Hellwig
Committed by Anthony Liguori
1 parent d9654a58

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>
Showing 1 changed file with 1 additions and 1 deletions
hw/virtio-blk.h
@@ -67,7 +67,7 @@ struct virtio_blk_outhdr @@ -67,7 +67,7 @@ struct virtio_blk_outhdr
67 #define VIRTIO_BLK_S_IOERR 1 67 #define VIRTIO_BLK_S_IOERR 1
68 #define VIRTIO_BLK_S_UNSUPP 2 68 #define VIRTIO_BLK_S_UNSUPP 2
69 69
70 -/* This is the first element of the write scatter-gather list */ 70 +/* This is the last element of the write scatter-gather list */
71 struct virtio_blk_inhdr 71 struct virtio_blk_inhdr
72 { 72 {
73 unsigned char status; 73 unsigned char status;