From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOwfj-0003YG-2C for qemu-devel@nongnu.org; Fri, 20 Feb 2015 18:07:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOwfc-0006ny-UY for qemu-devel@nongnu.org; Fri, 20 Feb 2015 18:07:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOwfc-0006nI-Md for qemu-devel@nongnu.org; Fri, 20 Feb 2015 18:07:40 -0500 From: John Snow Date: Fri, 20 Feb 2015 18:07:18 -0500 Message-Id: <1424473645-29161-13-git-send-email-jsnow@redhat.com> In-Reply-To: <1424473645-29161-1-git-send-email-jsnow@redhat.com> References: <1424473645-29161-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH v14 12/19] 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