From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsBII-0001Ww-RQ for qemu-devel@nongnu.org; Fri, 30 Oct 2015 11:08:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsBIH-0003Mw-OJ for qemu-devel@nongnu.org; Fri, 30 Oct 2015 11:08:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsBIH-0003Ms-K4 for qemu-devel@nongnu.org; Fri, 30 Oct 2015 11:08:41 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 3E0B119F97F for ; Fri, 30 Oct 2015 15:08:41 +0000 (UTC) From: Eduardo Habkost Date: Fri, 30 Oct 2015 13:08:02 -0200 Message-Id: <1446217682-24421-12-git-send-email-ehabkost@redhat.com> In-Reply-To: <1446217682-24421-1-git-send-email-ehabkost@redhat.com> References: <1446217682-24421-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v3 11/11] vl.c: Use "%s support is disabled" error messages consistently List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Andrew Jones , Markus Armbruster Signed-off-by: Eduardo Habkost --- Changes series v2 -> v3: * Use "support is disabled" instead of "support disabled" * Suggested-by: Markus Armbruster * Suggested-by: Andrew Jones --- vl.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/vl.c b/vl.c index e2999c9..601ace2 100644 --- a/vl.c +++ b/vl.c @@ -1019,8 +1019,7 @@ static int parse_sandbox(void *opaque, QemuOpts *opts, Error **errp) return -1; } #else - error_report("sandboxing request but seccomp is not compiled " - "into this build"); + error_report("seccomp support is disabled"); return -1; #endif } @@ -3441,7 +3440,7 @@ int main(int argc, char **argv, char **envp) case QEMU_OPTION_fsdev: olist = qemu_find_opts("fsdev"); if (!olist) { - error_report("fsdev is not supported by this qemu build"); + error_report("fsdev support is disabled"); exit(1); } opts = qemu_opts_parse_noisily(olist, optarg, true); @@ -3456,7 +3455,7 @@ int main(int argc, char **argv, char **envp) olist = qemu_find_opts("virtfs"); if (!olist) { - error_report("virtfs is not supported by this qemu build"); + error_report("virtfs support is disabled"); exit(1); } opts = qemu_opts_parse_noisily(olist, optarg, true); @@ -3897,7 +3896,7 @@ int main(int argc, char **argv, char **envp) case QEMU_OPTION_spice: olist = qemu_find_opts("spice"); if (!olist) { - error_report("spice is not supported by this qemu build"); + error_report("spice support is disabled"); exit(1); } opts = qemu_opts_parse_noisily(olist, optarg, false); @@ -4250,7 +4249,7 @@ int main(int argc, char **argv, char **envp) #if defined(CONFIG_OPENGL) error_report("OpenGL is not supported by the display"); #else - error_report("QEMU was built without opengl support"); + error_report("OpenGL support is disabled"); #endif exit(1); } -- 2.1.0