Received: from eggs.gnu.org ([2001:4830:134:3::10]:52732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zc5B2-0002K2-Pn for qemu-devel@nongnu.org; Wed, 16 Sep 2015 01:22:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zc5Ay-0007e9-E2 for qemu-devel@nongnu.org; Wed, 16 Sep 2015 01:22:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zc5Ay-0007dx-9K for qemu-devel@nongnu.org; Wed, 16 Sep 2015 01:22:36 -0400 From: Markus Armbruster References: <1438939964-12584-1-git-send-email-vsementsov@virtuozzo.com> <1438939964-12584-12-git-send-email-vsementsov@virtuozzo.com> <55F84763.2020905@redhat.com> <55F87536.4080503@redhat.com> Date: Wed, 16 Sep 2015 07:22:32 +0200 In-Reply-To: <55F87536.4080503@redhat.com> (John Snow's message of "Tue, 15 Sep 2015 15:44:54 -0400") Message-ID: <871tdz2b1j.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 11/12] qapi: add md5 checksum of last dirty bitmap level to query-block List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow Cc: kwolf@redhat.com, peter.maydell@linaro.org, Vladimir Sementsov-Ogievskiy , quintela@redhat.com, qemu-devel@nongnu.org, dgilbert@redhat.com, vsementsov@parallels.com, stefanha@redhat.com, den@openvz.org, amit.shah@redhat.com, pbonzini@redhat.com John Snow writes: > On 09/15/2015 12:29 PM, Eric Blake wrote: >> On 08/07/2015 03:32 AM, Vladimir Sementsov-Ogievskiy wrote: >>> From: Vladimir Sementsov-Ogievskiy >>> >>> Reviewed-by: John Snow >>> Signed-off-by: Vladimir Sementsov-Ogievskiy >>> --- >>> block.c | 1 + >>> include/qemu/hbitmap.h | 8 ++++++++ >>> qapi/block-core.json | 4 +++- >>> util/hbitmap.c | 8 ++++++++ >>> 4 files changed, 20 insertions(+), 1 deletion(-) >> >>> +++ b/qapi/block-core.json >>> @@ -359,11 +359,13 @@ >>> # >>> # @status: current status of the dirty bitmap (since 2.4) >>> # >>> +# @md5: md5 checksum of the last bitmap level (since 2.4) >> >> since 2.5, now. Would it help to be explicit that this is a hexadecimal >> encoding of the checksum (and not the actual binary value)? >> > > I had reasoned that it was implied so as to maintain a valid QMP > protocol stream. There's more ASCII encodings of binary than hex. Hex is the common one for MD5, but spelling it out won't hurt.