[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!
- Re: [Qemu-devel] [PATCH 08/11] qerror: Finally unused, clean up, (continued)
- [Qemu-devel] [PATCH 11/11] Include monitor/monitor.h exactly where needed, Markus Armbruster, 2015/06/13
- [Qemu-devel] [PATCH 07/11] qmp: Wean off qerror_report(), Markus Armbruster, 2015/06/13
- [Qemu-devel] [PATCH 01/11] QemuOpts: Wean off qerror_report_err(), Markus Armbruster, 2015/06/13
- [Qemu-devel] [PATCH 10/11] Include qapi/qmp/qerror.h exactly where needed, Markus Armbruster, 2015/06/13
- [Qemu-devel] [PATCH 09/11] qerror: Move #include out of qerror.h, Markus Armbruster, 2015/06/13
- [Qemu-devel] [PATCH 05/11] qerror: Clean up QERR_ macros to expand into a single string, Markus Armbruster, 2015/06/13