From 8b91408b620b5b244999d97540c3ec304abe7810 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Thu, 23 Apr 2009 12:58:51 +0200 Subject: [PATCH] fix virtio_blk_inhdr comment The inhdr is at the end of the S/G list, not the beginning. Signed-off-by: Christoph Hellwig Signed-off-by: Anthony Liguori --- hw/virtio-blk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/virtio-blk.h b/hw/virtio-blk.h index d11f484945..5ef6c36054 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; -- GitLab