qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v7 1/2] dump: Propagate errors into qmp_dump_gue


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v7 1/2] dump: Propagate errors into qmp_dump_guest_memory()
Date: Wed, 08 Oct 2014 08:50:26 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

On 09/30/2014 03:20 AM, zhanghailiang wrote:
> The code calls dump_error() on error, and even passes it a suitable
> message.  However, the message is thrown away, and its callers pass
> up only success/failure.  All qmp_dump_guest_memory() can do is set
> a generic error.
> 
> Propagate the errors properly, so qmp_dump_guest_memory() can return
> a more useful error.
> 
> Reviewed-by: Markus Armbruster <address@hidden>
> Signed-off-by: zhanghailiang <address@hidden>
> ---
>  dump.c | 165 
> ++++++++++++++++++++++++++++++++---------------------------------
>  1 file changed, 82 insertions(+), 83 deletions(-)
> 

Reviewed-by: Eric Blake <address@hidden>

-- 
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]