qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH V6 21/29] qapi event: convert BLOCK_IMAGE_CORRUP


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH V6 21/29] qapi event: convert BLOCK_IMAGE_CORRUPTED
Date: Mon, 16 Jun 2014 16:53:13 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 06/05/2014 06:22 AM, Wenchao Xia wrote:
> Signed-off-by: Wenchao Xia <address@hidden>
> ---
>  block/qcow2-refcount.c  |   14 ++++++++------
>  docs/qmp/qmp-events.txt |   22 ----------------------
>  qapi-event.json         |   22 ++++++++++++++++++++++
>  3 files changed, 30 insertions(+), 28 deletions(-)
> 

> -- "device": Device name (json-string)
> -- "msg":    Informative message (e.g., reason for the corruption) 
> (json-string)
> -- "offset": If the corruption resulted from an image access, this is the 
> access
> -            offset into the image (json-int)
> -- "size":   If the corruption resulted from an image access, this is the 
> access
> -            size (json-int)
> -
> -Example:
> -
> -{ "event": "BLOCK_IMAGE_CORRUPTED",
> -    "data": { "device": "ide0-hd0",
> -        "msg": "Prevented active L1 table overwrite", "offset": 196608,

The old docs didn't make it clear...

> +#
> +# @msg: informative message, for example, reason for the corruption

...but the new docs should mention that msg is for human consumption and
should not be parsed by machine as it is not guaranteed to be stable

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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