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: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 01/11] QemuOpts: Wean off qerror_report_err()
Date: Tue, 16 Jun 2015 12:58:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Eric Blake <address@hidden> writes:

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

Fixing...

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

Thanks!



reply via email to

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