From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTO6M-0004jq-9H for qemu-devel@nongnu.org; Fri, 07 Jul 2017 03:54:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTO6L-0004jq-Ga for qemu-devel@nongnu.org; Fri, 07 Jul 2017 03:54:58 -0400 From: Markus Armbruster References: <20170628120530.31251-1-vsementsov@virtuozzo.com> <20170628120530.31251-25-vsementsov@virtuozzo.com> Date: Fri, 07 Jul 2017 09:54:43 +0200 In-Reply-To: <20170628120530.31251-25-vsementsov@virtuozzo.com> (Vladimir Sementsov-Ogievskiy's message of "Wed, 28 Jun 2017 15:05:24 +0300") Message-ID: <87wp7k65rw.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v22 24/30] qmp: add autoload parameter to block-dirty-bitmap-add List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladimir Sementsov-Ogievskiy Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, kwolf@redhat.com, famz@redhat.com, mreitz@redhat.com, stefanha@redhat.com, pbonzini@redhat.com, den@openvz.org, jsnow@redhat.com Vladimir Sementsov-Ogievskiy writes: > Optional. Default is false. > > Signed-off-by: Vladimir Sementsov-Ogievskiy > Signed-off-by: Denis V. Lunev > Reviewed-by: Max Reitz > Reviewed-by: John Snow > --- > blockdev.c | 18 ++++++++++++++++-- > qapi/block-core.json | 6 +++++- > 2 files changed, 21 insertions(+), 3 deletions(-) [...] > diff --git a/qapi/block-core.json b/qapi/block-core.json > index 13f98ec146..5c42cc7790 100644 > --- a/qapi/block-core.json > +++ b/qapi/block-core.json > @@ -1566,11 +1566,15 @@ > # Qcow2 disks support persistent bitmaps. Default is false for > # block-dirty-bitmap-add. (Since: 2.10) > # > +# @autoload: the bitmap will be automatically loaded when the image it is stored > +# in is opened. This flag may only be specified for persistent > +# bitmaps. Default is false for block-dirty-bitmap-add. (Since: 2.10) > +# Comments on PATCH 23 apply. > # Since: 2.4 > ## > { 'struct': 'BlockDirtyBitmapAdd', > 'data': { 'node': 'str', 'name': 'str', '*granularity': 'uint32', > - '*persistent': 'bool' } } > + '*persistent': 'bool', '*autoload': 'bool' } } > > ## > # @block-dirty-bitmap-add: