qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 11/12] qapi: add md5 checksum of last dirty bitm


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 11/12] qapi: add md5 checksum of last dirty bitmap level to query-block
Date: Wed, 16 Sep 2015 07:22:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

John Snow <address@hidden> 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 <address@hidden>
>>>
>>> Reviewed-by: John Snow <address@hidden>
>>> Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
>>> ---
>>>  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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]