Received: from eggs.gnu.org ([2001:4830:134:3::10]:33860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4pXP-0004gT-8r for qemu-devel@nongnu.org; Tue, 16 Jun 2015 08:00:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4pXL-0005c2-4P for qemu-devel@nongnu.org; Tue, 16 Jun 2015 08:00:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4pXK-0005bF-WE for qemu-devel@nongnu.org; Tue, 16 Jun 2015 08:00:15 -0400 From: Markus Armbruster References: <1434205258-1932-1-git-send-email-armbru@redhat.com> <1434205258-1932-3-git-send-email-armbru@redhat.com> <557CF07D.3040401@redhat.com> Date: Tue, 16 Jun 2015 14:00:11 +0200 In-Reply-To: <557CF07D.3040401@redhat.com> (Eric Blake's message of "Sat, 13 Jun 2015 21:09:49 -0600") Message-ID: <87lhfjhnhw.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 02/11] vl: Avoid qerror_report() outside QMP command handlers 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() is a transitional interface to help with converting >> existing monitor commands to QMP. It should not be used elsewhere. >> Replace by error_report() in initial startup helpers parse_sandbox() >> and parse_add_fd(). >> >> Signed-off-by: Markus Armbruster >> --- >> vl.c | 23 +++++++++-------------- >> 1 file changed, 9 insertions(+), 14 deletions(-) >> > >> #else >> - qerror_report(ERROR_CLASS_GENERIC_ERROR, >> - "sandboxing request but seccomp is not compiled into this build"); >> + error_report("sandboxing request but seccomp is not compiled " >> + "into this build"); > > Pre-existing, but s/request/requested/ would sound better while touching > this. The full error message is qemu-kvm-x86_64: -sandbox on: sandboxing request but seccomp is not compiled into this build I think qemu-kvm-x86_64: -sandbox on: seccomp is not compiled into this build would do just fine. I guess I'd happily squash that into a shorter patch, but this one is big enough for me to prefer a separate patch. > Either way, > Reviewed-by: Eric Blake Thanks!