]> Git Repo - qemu.git/commitdiff
block: add BdrvDirtyBitmap documentation
authorJohn Snow <[email protected]>
Fri, 17 Apr 2015 23:50:01 +0000 (19:50 -0400)
committerKevin Wolf <[email protected]>
Tue, 28 Apr 2015 13:36:10 +0000 (15:36 +0200)
Signed-off-by: John Snow <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Message-id: 1429314609[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block.c

diff --git a/block.c b/block.c
index f0157d55cfd8699dcc2f6246ec9e8ab075b204f6..4121929c4b592a064a653f65685fb91b2f910cea 100644 (file)
--- a/block.c
+++ b/block.c
  *     or enabled. A frozen bitmap can only abdicate() or reclaim().
  */
 struct BdrvDirtyBitmap {
-    HBitmap *bitmap;
-    BdrvDirtyBitmap *successor;
-    int64_t size;
-    char *name;
-    bool disabled;
+    HBitmap *bitmap;            /* Dirty sector bitmap implementation */
+    BdrvDirtyBitmap *successor; /* Anonymous child; implies frozen status */
+    char *name;                 /* Optional non-empty unique ID */
+    int64_t size;               /* Size of the bitmap (Number of sectors) */
+    bool disabled;              /* Bitmap is read-only */
     QLIST_ENTRY(BdrvDirtyBitmap) list;
 };
 
This page took 0.032953 seconds and 4 git commands to generate.