From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKzl3-0004uC-Is for qemu-devel@nongnu.org; Mon, 09 Feb 2015 20:36:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKzl0-0002zx-9V for qemu-devel@nongnu.org; Mon, 09 Feb 2015 20:36:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKzl0-0002zW-2Y for qemu-devel@nongnu.org; Mon, 09 Feb 2015 20:36:54 -0500 From: John Snow Date: Mon, 9 Feb 2015 20:35:11 -0500 Message-Id: <1423532117-14490-12-git-send-email-jsnow@redhat.com> In-Reply-To: <1423532117-14490-1-git-send-email-jsnow@redhat.com> References: <1423532117-14490-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH v12 11/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 --- block.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/block.c b/block.c index 3c0989c..e065694 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