From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWUNd-0003nB-SB for qemu-devel@nongnu.org; Fri, 13 Mar 2015 14:32:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWUM3-0007KN-U2 for qemu-devel@nongnu.org; Fri, 13 Mar 2015 14:30:40 -0400 From: John Snow Date: Fri, 13 Mar 2015 14:30:13 -0400 Message-Id: <1426271419-8277-14-git-send-email-jsnow@redhat.com> In-Reply-To: <1426271419-8277-1-git-send-email-jsnow@redhat.com> References: <1426271419-8277-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [2.4 PATCH v3 13/19] 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 5f73697..6b6539a 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; }; -- 1.9.3