From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HiEig-00033j-Sm for qemu-devel@nongnu.org; Sun, 29 Apr 2007 15:06:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HiEie-0002zm-KY for qemu-devel@nongnu.org; Sun, 29 Apr 2007 15:06:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HiEie-0002zj-Cn for qemu-devel@nongnu.org; Sun, 29 Apr 2007 15:06:00 -0400 Received: from moutng.kundenserver.de ([212.227.126.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HiEcX-0006Os-T6 for qemu-devel@nongnu.org; Sun, 29 Apr 2007 14:59:42 -0400 Message-ID: <4634EB19.3090200@mail.berlios.de> Date: Sun, 29 Apr 2007 20:59:37 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Proposal: option for CPU selection References: <1173005754.21159.24.camel@rapid> <45EB0D7A.2090702@bellard.org> <1173074531.21159.49.camel@rapid> In-Reply-To: <1173074531.21159.49.camel@rapid> Content-Type: multipart/mixed; boundary="------------080305080405040304020506" 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 This is a multi-part message in MIME format. --------------080305080405040304020506 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit If you ever called qemu with "-cpu ?" and wonder why you get no answer: here is a small patch which changes this behaviour for all targets without CPU selection. Regards Stefan --------------080305080405040304020506 Content-Type: text/plain; name="patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch" Index: vl.c =================================================================== --- vl.c (Revision 629) +++ vl.c (Arbeitskopie) @@ -7040,6 +7040,8 @@ mips_cpu_list(stdout, &fprintf); #elif defined(TARGET_SPARC) sparc_cpu_list(stdout, &fprintf); +#else + printf("Target ignores cpu selection\n"); #endif exit(1); } else { Index: linux-user/main.c =================================================================== --- linux-user/main.c (Revision 616) +++ linux-user/main.c (Arbeitskopie) @@ -1747,6 +1747,8 @@ mips_cpu_list(stdout, &fprintf); #elif defined(TARGET_SPARC) sparc_cpu_list(stdout, &fprintf); +#else + printf("Target ignores cpu selection\n"); #endif _exit(1); } --------------080305080405040304020506--