qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 01/11] QemuOpts: Wean off qerror_report_err()


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 01/11] QemuOpts: Wean off qerror_report_err()
Date: Sat, 13 Jun 2015 20:57:59 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 06/13/2015 08:20 AM, Markus Armbruster wrote:
> qerror_report_err() is a transitional interface to help with
> converting existing monitor commands to QMP.  It should not be used
> elsewhere.
> 
> The only remaining user in qemu-option.c is qemu_opts_parse().  Is it
> used in QMP context?  If not, we can simply replace
> qerror_report_err() by error_report_err().
> 

> 
> Propoagate errors through qemu_opts_parse().  Create a convenience

s/Propoagate/Propagate/

> function qemu_opts_parse_noisily() that passes errors to
> error_report_err().  Switch all non-QMP users outside tests to it.
> 
> That leaves vnc_parse_func().  Propagate errors through it.  Since I'm
> touching it anyway, rename it to vnc_parse().
> 
> Signed-off-by: Markus Armbruster <address@hidden>
> ---

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]