From patchwork Mon Mar 22 18:12:43 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juergen Lock X-Patchwork-Id: 48301 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 53227B7CE7 for ; Tue, 23 Mar 2010 05:17:01 +1100 (EST) Received: from localhost ([127.0.0.1]:40069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtmBN-0001a4-9m for incoming@patchwork.ozlabs.org; Mon, 22 Mar 2010 14:16:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NtmAb-0001Xi-P1 for qemu-devel@nongnu.org; Mon, 22 Mar 2010 14:16:09 -0400 Received: from [199.232.76.173] (port=48971 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtmAa-0001WV-Sx for qemu-devel@nongnu.org; Mon, 22 Mar 2010 14:16:08 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NtmAZ-0000KF-LD for qemu-devel@nongnu.org; Mon, 22 Mar 2010 14:16:08 -0400 Received: from gelbbaer.kn-bremen.de ([78.46.108.116]:51465 helo=smtp.kn-bremen.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NtmAZ-0000Jt-Cp for qemu-devel@nongnu.org; Mon, 22 Mar 2010 14:16:07 -0400 Received: by smtp.kn-bremen.de (Postfix, from userid 10) id DE76B1E0014C; Mon, 22 Mar 2010 19:16:04 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.3/8.14.3) with ESMTP id o2MIChux009749 for ; Mon, 22 Mar 2010 19:12:43 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.3/8.14.3/Submit) id o2MIChCt009748 for qemu-devel@nongnu.org; Mon, 22 Mar 2010 19:12:43 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Mon, 22 Mar 2010 19:12:43 +0100 To: qemu-devel@nongnu.org Message-ID: <20100322181243.GA9713@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [Qemu-devel] [PATCH] Fix bsd-user broken by commit b5ec5ce0e39d6e7ea707d5604a5f6d567dfd2f48 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juergen Lock --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -759,6 +759,10 @@ int main(int argc, char **argv) } cpu_model = NULL; +#if defined(cpudef_setup) + cpudef_setup(); /* parse cpu definitions in target config file (TBD) */ +#endif + optind = 1; for(;;) { if (optind >= argc)