Received: from eggs.gnu.org ([2001:4830:134:3::10]:47771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8rk5-0001G3-BT for qemu-devel@nongnu.org; Mon, 21 Nov 2016 11:46:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8rk4-0006Ip-FB for qemu-devel@nongnu.org; Mon, 21 Nov 2016 11:46:53 -0500 References: <1479742168-309848-1-git-send-email-vsementsov@virtuozzo.com> <1479742168-309848-15-git-send-email-vsementsov@virtuozzo.com> From: Eric Blake Message-ID: Date: Mon, 21 Nov 2016 10:46:42 -0600 MIME-Version: 1.0 In-Reply-To: <1479742168-309848-15-git-send-email-vsementsov@virtuozzo.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NXRAUPmbsBjfNDI3eXAu2G3Lv9Wr9t4JF" Subject: Re: [Qemu-devel] [PATCH 14/17] qmp: add x-debug-block-dirty-bitmap-sha256 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladimir Sementsov-Ogievskiy , qemu-block@nongnu.org, qemu-devel@nongnu.org Cc: pbonzini@redhat.com, armbru@redhat.com, famz@redhat.com, stefanha@redhat.com, amit.shah@redhat.com, quintela@redhat.com, mreitz@redhat.com, kwolf@redhat.com, peter.maydell@linaro.org, dgilbert@redhat.com, den@openvz.org, jsnow@redhat.com, lirans@il.ibm.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NXRAUPmbsBjfNDI3eXAu2G3Lv9Wr9t4JF From: Eric Blake To: Vladimir Sementsov-Ogievskiy , qemu-block@nongnu.org, qemu-devel@nongnu.org Cc: pbonzini@redhat.com, armbru@redhat.com, famz@redhat.com, stefanha@redhat.com, amit.shah@redhat.com, quintela@redhat.com, mreitz@redhat.com, kwolf@redhat.com, peter.maydell@linaro.org, dgilbert@redhat.com, den@openvz.org, jsnow@redhat.com, lirans@il.ibm.com Message-ID: Subject: Re: [PATCH 14/17] qmp: add x-debug-block-dirty-bitmap-sha256 References: <1479742168-309848-1-git-send-email-vsementsov@virtuozzo.com> <1479742168-309848-15-git-send-email-vsementsov@virtuozzo.com> In-Reply-To: <1479742168-309848-15-git-send-email-vsementsov@virtuozzo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/21/2016 09:29 AM, Vladimir Sementsov-Ogievskiy wrote: > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- > block/dirty-bitmap.c | 5 +++++ > blockdev.c | 33 +++++++++++++++++++++++++++++++++ > include/block/dirty-bitmap.h | 2 ++ > include/qemu/hbitmap.h | 8 ++++++++ > qapi/block-core.json | 26 ++++++++++++++++++++++++++ > util/hbitmap.c | 11 +++++++++++ > 6 files changed, 85 insertions(+) >=20 > +++ b/qapi/block-core.json > @@ -1280,6 +1280,32 @@ > 'data': 'BlockDirtyBitmap' } > =20 > ## > +# @BlockDirtyBitmapSha256: > +# > +# SHA256 hash of dirty bitmap data Maybe 'ASCII representation of SHA256 hash...' to make it clear that this is a longhand representation rather than a binary value that might include non-characters. > +# > +# @sha256: bitmap SHA256 hash > +# > +# Since: 2.8 2.9, probably > +## > + { 'struct': 'BlockDirtyBitmapSha256', > + 'data': {'sha256': 'str'} } > + > +## > +# @x-debug-block-dirty-bitmap-sha256 > +# > +# Get bitmap SHA256 > +# > +# Returns: BlockDirtyBitmapSha256 on success > +# If @node is not a valid block device, DeviceNotFound > +# If @name is not found, GenericError with an explanation > +# > +# Since 2.8 > +## and again > + { 'command': 'x-debug-block-dirty-bitmap-sha256', > + 'data': 'BlockDirtyBitmap', 'returns': 'BlockDirtyBitmapSha256' } > + --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --NXRAUPmbsBjfNDI3eXAu2G3Lv9Wr9t4JF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJYMyTyAAoJEKeha0olJ0Nq56gH/RG1ss+6GPI35SeXPPx56vzO nM5cWKFbXXAqXUK/s/4L1T60mvBkYq3nzWv0wiWwal+5ps2/TglLKMFuK2AzaidA enYIqGgC+b/I9UibHWvj4B9RNEuCb8X90pmqopKgayxCRCMSPWBsyrh6dyYoaVWo UDNSa4Yl5QTh0K4gV/oHM8qVsN0dJ/elCl+Ix6eSBgipy4F/VMmfQqZ4iJXUZwum 9ZTqQA4nMhTByEbpQktXqn2l4NPglh+mOZVKcZqJQjmrLKO//rWgjfSpF+9fx6ei QO7hi52DoigqP0818xHw4ij5gIJL3OfgDaTybVhSI7y9lPyXbBx38pV6Z/0y/I8= =OQYl -----END PGP SIGNATURE----- --NXRAUPmbsBjfNDI3eXAu2G3Lv9Wr9t4JF--