qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT cd72096] fix virtio_blk_inhdr comment


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT cd72096] fix virtio_blk_inhdr comment
Date: Fri, 01 May 2009 15:05:18 -0000

From: Christoph Hellwig <address@hidden>

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

Signed-off-by: Christoph Hellwig <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]