Received: from eggs.gnu.org ([2001:4830:134:3::10]:41301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4oZr-0002nt-R9 for qemu-devel@nongnu.org; Tue, 16 Jun 2015 06:58:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4oZn-00009i-Gi for qemu-devel@nongnu.org; Tue, 16 Jun 2015 06:58:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4oZm-00009I-Jl for qemu-devel@nongnu.org; Tue, 16 Jun 2015 06:58:43 -0400 From: Markus Armbruster References: <1434205258-1932-1-git-send-email-armbru@redhat.com> <1434205258-1932-2-git-send-email-armbru@redhat.com> <557CEDB7.1030702@redhat.com> Date: Tue, 16 Jun 2015 12:58:39 +0200 In-Reply-To: <557CEDB7.1030702@redhat.com> (Eric Blake's message of "Sat, 13 Jun 2015 20:57:59 -0600") Message-ID: <87r3pbhqcg.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 01/11] QemuOpts: Wean off qerror_report_err() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: kwolf@redhat.com, lcapitulino@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, mdroth@linux.vnet.ibm.com Eric Blake 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 >> --- > > Reviewed-by: Eric Blake Thanks!