From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMOQH-0003wx-0s for qemu-devel@nongnu.org; Fri, 13 Feb 2015 17:09:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMOQF-0004EL-0l for qemu-devel@nongnu.org; Fri, 13 Feb 2015 17:09:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMOQE-0004Du-Pu for qemu-devel@nongnu.org; Fri, 13 Feb 2015 17:09:14 -0500 From: John Snow Date: Fri, 13 Feb 2015 17:08:53 -0500 Message-Id: <1423865338-8576-13-git-send-email-jsnow@redhat.com> In-Reply-To: <1423865338-8576-1-git-send-email-jsnow@redhat.com> References: <1423865338-8576-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH v13 12/17] block: add BdrvDirtyBitmap documentation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, John Snow , armbru@redhat.com, mreitz@redhat.com, vsementsov@parallels.com, stefanha@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 a7f56f4..c1c11aa 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