Skip to contentSkip to conversation

fix virtio_blk_inhdr comment

PATCH New Christoph Hellwig 1 participant 1 message Apr 23, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix virtio_blk_inhdr comment

The inhdr is at the end of the S/G list, not the beginning.

hw/virtio-blk.h +1 -1
Index: qemu/hw/virtio-blk.h
===================================================================
@@ -64,7 +64,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;