From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ2QD-0000HK-0X for qemu-devel@nongnu.org; Fri, 20 Mar 2015 15:17:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZ2QC-0002dE-9x for qemu-devel@nongnu.org; Fri, 20 Mar 2015 15:17:28 -0400 From: John Snow Date: Fri, 20 Mar 2015 15:16:56 -0400 Message-Id: <1426879023-18151-14-git-send-email-jsnow@redhat.com> In-Reply-To: <1426879023-18151-1-git-send-email-jsnow@redhat.com> References: <1426879023-18151-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH v4 13/20] block: add BdrvDirtyBitmap documentation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, John Snow , qemu-devel@nongnu.org, armbru@redhat.com, vsementsov@parallels.com, stefanha@redhat.com, mreitz@redhat.com Signed-off-by: John Snow Reviewed-by: Max Reitz --- block.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/block.c b/block.c index 005b535..c2e1b27 100644 --- a/block.c +++ b/block.c @@ -60,11 +60,11 @@ * 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; }; -- 2.1.0