From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lppn1-0005RE-1o for qemu-devel@nongnu.org; Fri, 03 Apr 2009 16:14:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lppmw-0005H6-7I for qemu-devel@nongnu.org; Fri, 03 Apr 2009 16:14:58 -0400 Received: from [199.232.76.173] (port=46741 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lppmv-0005Gk-VC for qemu-devel@nongnu.org; Fri, 03 Apr 2009 16:14:54 -0400 Received: from mx2.redhat.com ([66.187.237.31]:56342) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lppmv-0000ma-Ju for qemu-devel@nongnu.org; Fri, 03 Apr 2009 16:14:53 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n33KEqnk008814 for ; Fri, 3 Apr 2009 16:14:52 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n33KEr9P010909 for ; Fri, 3 Apr 2009 16:14:53 -0400 Received: from localhost (vpn-6-65.fab.redhat.com [10.33.6.65]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n33KEpqh016748 for ; Fri, 3 Apr 2009 16:14:51 -0400 Date: Fri, 3 Apr 2009 21:14:49 +0100 From: "Richard W.M. Jones" Message-ID: <20090403201449.GA28322@amd.home.annexia.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline Subject: [Qemu-devel] [PATCH] Remove debug message printed when you use -initrd Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I wonder if we could remove this annoying debug message, which is printed unconditionally whenever someone uses the -initrd command line option. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="qemu-no-initrd-message.patch" Index: hw/pc.c =================================================================== --- hw/pc.c (revision 6970) +++ hw/pc.c (working copy) @@ -649,9 +649,6 @@ initrd_size = get_file_size(fi); initrd_addr = (initrd_max-initrd_size) & ~4095; - fprintf(stderr, "qemu: loading initrd (%#x bytes) at 0x" TARGET_FMT_plx - "\n", initrd_size, initrd_addr); - if (!fread_targphys_ok(initrd_addr, initrd_size, fi)) { fprintf(stderr, "qemu: read error on initial ram disk '%s'\n", initrd_filename); --J/dobhs11T7y2rNN--