]> Git Repo - qemu.git/commitdiff
virtio_blk: comment fix
authorMichael S. Tsirkin <[email protected]>
Sun, 12 Apr 2015 15:55:17 +0000 (17:55 +0200)
committerKevin Wolf <[email protected]>
Tue, 28 Apr 2015 13:36:09 +0000 (15:36 +0200)
update virtio blk header from latest linux, include comment fixups.

Signed-off-by: Michael S. Tsirkin <[email protected]>
Message-id: 1428854036[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
include/standard-headers/linux/virtio_blk.h

index 12016b47f38109293fe0ebcf438ffeb8bc0f72b1..cd601f4069950f52fb2ec8325d108d0a8820f44a 100644 (file)
@@ -58,7 +58,7 @@ struct virtio_blk_config {
        uint32_t size_max;
        /* The maximum number of segments (if VIRTIO_BLK_F_SEG_MAX) */
        uint32_t seg_max;
-       /* geometry the device (if VIRTIO_BLK_F_GEOMETRY) */
+       /* geometry of the device (if VIRTIO_BLK_F_GEOMETRY) */
        struct virtio_blk_geometry {
                uint16_t cylinders;
                uint8_t heads;
@@ -117,7 +117,11 @@ struct virtio_blk_config {
 #define VIRTIO_BLK_T_BARRIER   0x80000000
 #endif /* !VIRTIO_BLK_NO_LEGACY */
 
-/* This is the first element of the read scatter-gather list. */
+/*
+ * This comes first in the read scatter-gather list.
+ * For legacy virtio, if VIRTIO_F_ANY_LAYOUT is not negotiated,
+ * this is the first element of the read scatter-gather list.
+ */
 struct virtio_blk_outhdr {
        /* VIRTIO_BLK_T* */
        __virtio32 type;
This page took 0.023014 seconds and 4 git commands to generate.