From patchwork Tue Apr 24 20:32:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Habkost X-Patchwork-Id: 154756 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0A516B6FD9 for ; Wed, 25 Apr 2012 06:33:14 +1000 (EST) Received: from localhost ([::1]:35067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMmQB-0007An-Er for incoming@patchwork.ozlabs.org; Tue, 24 Apr 2012 16:33:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMmQ3-0007AC-FF for qemu-devel@nongnu.org; Tue, 24 Apr 2012 16:33:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMmQ1-00006B-PI for qemu-devel@nongnu.org; Tue, 24 Apr 2012 16:33:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMmQ1-00005b-Gq for qemu-devel@nongnu.org; Tue, 24 Apr 2012 16:33:01 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3OKWx9j005305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 24 Apr 2012 16:32:59 -0400 Received: from blackpad.lan.raisama.net (ovpn-116-87.ams2.redhat.com [10.36.116.87]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3OKWr3N015081; Tue, 24 Apr 2012 16:32:53 -0400 Received: by blackpad.lan.raisama.net (Postfix, from userid 500) id 4D30D20088C; Tue, 24 Apr 2012 17:33:02 -0300 (BRT) From: Eduardo Habkost To: qemu-devel@nongnu.org Date: Tue, 24 Apr 2012 17:32:59 -0300 Message-Id: <1335299581-25009-5-git-send-email-ehabkost@redhat.com> In-Reply-To: <1335299581-25009-1-git-send-email-ehabkost@redhat.com> References: <1335299581-25009-1-git-send-email-ehabkost@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: libvir-list@redhat.com, Jiri Denemark Subject: [Qemu-devel] [PATCH qemu 4/6] vl.c: change 'defconfig' variable to bool X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Eduardo Habkost --- vl.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vl.c b/vl.c index 1e5e593..a4f4676 100644 --- a/vl.c +++ b/vl.c @@ -2279,7 +2279,7 @@ int main(int argc, char **argv, char **envp) #ifdef CONFIG_VNC int show_vnc_port = 0; #endif - int defconfig = 1; + int defconfig = true; const char *log_mask = NULL; const char *log_file = NULL; GMemVTable mem_trace = { @@ -2346,7 +2346,7 @@ int main(int argc, char **argv, char **envp) popt = lookup_opt(argc, argv, &optarg, &optind); switch (popt->index) { case QEMU_OPTION_nodefconfig: - defconfig=0; + defconfig = false; break; } }