Received: from eggs.gnu.org ([208.118.235.92]:47777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzNP8-0003v0-Rc for qemu-devel@nongnu.org; Thu, 09 Aug 2012 03:43:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzNP8-0004eD-4L for qemu-devel@nongnu.org; Thu, 09 Aug 2012 03:43:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzNP7-0004e2-Sc for qemu-devel@nongnu.org; Thu, 09 Aug 2012 03:43:38 -0400 From: Markus Armbruster References: <1344468698-9768-1-git-send-email-jcmvbkbc@gmail.com> Date: Thu, 09 Aug 2012 09:43:33 +0200 In-Reply-To: <1344468698-9768-1-git-send-email-jcmvbkbc@gmail.com> (Max Filippov's message of "Thu, 9 Aug 2012 03:31:38 +0400") Message-ID: <87y5loik7u.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: Max Filippov Cc: qemu-devel@nongnu.org, =?utf-8?Q?Cr=C3=ADstian?= Viana 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); } Probably broken in commit 93bfef4c, cc'ing its author. Of course, I don't mind you picking a default machine for xtensa, if that's what you want.