Received: from eggs.gnu.org ([208.118.235.92]:39158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzNgK-0005H7-ED for qemu-devel@nongnu.org; Thu, 09 Aug 2012 04:01:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzNgA-0001My-3O for qemu-devel@nongnu.org; Thu, 09 Aug 2012 04:01:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzNg9-0001M2-SY for qemu-devel@nongnu.org; Thu, 09 Aug 2012 04:01:14 -0400 From: Markus Armbruster References: <1344468698-9768-1-git-send-email-jcmvbkbc@gmail.com> <87y5loik7u.fsf@blackfin.pond.sub.org> Date: Thu, 09 Aug 2012 10:01:09 +0200 In-Reply-To: (Dunrong Huang's message of "Thu, 9 Aug 2012 15:52:07 +0800") Message-ID: <87obmk1ol6.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] target-xtensa: make 'sim' to be the default machine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dunrong Huang Cc: Max Filippov , qemu-devel@nongnu.org, =?utf-8?Q?Cr=C3=ADstian?= Viana Dunrong Huang writes: > 2012/8/9 Markus Armbruster : >> Max Filippov writes: >> >>> This fixes the following error: >>> >>> $ qemu-system-xtensa -cpu help >>> Segmentation fault >> >> main() attempts to cope with "no machine found", it just screws it up: >> >> if (machine->hw_version) { >> qemu_set_version(machine->hw_version); >> } >> [...] >> if (machine == NULL) { >> fprintf(stderr, "No machine found.\n"); >> exit(1); >> } >> > I have sent > a trivial patch to fix this bug, but no one replied it. > > I resend it just now. > http://lists.nongnu.org/archive/html/qemu-devel/2012-08/msg01437.html Thanks!