Received: from eggs.gnu.org ([2001:4830:134:3::10]:57340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFzST-0001ib-H4 for qemu-devel@nongnu.org; Wed, 31 May 2017 04:58:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFzSQ-0005gI-FH for qemu-devel@nongnu.org; Wed, 31 May 2017 04:58:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53374) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dFzSQ-0005gB-9b for qemu-devel@nongnu.org; Wed, 31 May 2017 04:58:22 -0400 References: <1c8f4f4e-65f7-2d12-a391-08781fea651c@landley.net> <20170529101413.GN16511@redhat.com> <7e4d7d67-3312-2d2a-ab64-8c0f171d9118@landley.net> From: Thomas Huth Message-ID: <92c753de-3c03-b507-fa95-1ba6593df406@redhat.com> Date: Wed, 31 May 2017 10:58:17 +0200 MIME-Version: 1.0 In-Reply-To: <7e4d7d67-3312-2d2a-ab64-8c0f171d9118@landley.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Commit b2a575a1c652 broke i486 support. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Landley , "Richard W.M. Jones" Cc: Paolo Bonzini , =?UTF-8?Q?Marc_Mar=c3=ad?= , qemu-devel@nongnu.org On 30.05.2017 21:05, Rob Landley wrote: > On 05/29/2017 05:14 AM, Richard W.M. Jones wrote: >> I see in the disassembly use of cmovne (new in Pentium Pro) and >> bswap (new in 486). >> [http://cse.unl.edu/~goddard/Courses/CSCE351/IntelArchitecture/InstructionSetSummary.pdf] >> >> The cmovne instruction is generated by the compiler (GCC in my case), >> >> The following patch removes the cmovne instruction, so it should work >> on 486 (although I didn't test it). It's not possible to remove bswap >> without surgery on the inline assembler. > > Is there any way to make it just _not_ load the option rom for -cpu 486? > It ran fine before that thing went in... Looking at that commit b2a575a1c652 that you've mentioned, it seems like you could work-around the problem by disabling DMA for the fw_cfg device. Try something like adding the parameter -global fw_cfg.dma_enabled=false to your command line. If that does not help, try to use an older machine type, like "-M pc-i440fx-2.5". Thomas