[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
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 08/11] qerror: Finally unused, clean up, (continued)
- [Qemu-devel] [PATCH 08/11] qerror: Finally unused, clean up, Markus Armbruster, 2015/06/13
- [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