Received: from eggs.gnu.org ([208.118.235.92]:46532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz1fa-00017U-0e for qemu-devel@nongnu.org; Wed, 08 Aug 2012 04:31:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sz1fU-0005UL-Kg for qemu-devel@nongnu.org; Wed, 08 Aug 2012 04:31:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz1fU-0005U5-D1 for qemu-devel@nongnu.org; Wed, 08 Aug 2012 04:31:04 -0400 From: Markus Armbruster References: <87obmmcxlh.fsf@blackfin.pond.sub.org> Date: Wed, 08 Aug 2012 10:31:01 +0200 In-Reply-To: (Max Filippov's message of "Wed, 8 Aug 2012 11:38:01 +0400") Message-ID: <87wr193hve.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] For all targets and machine types: "start to monitor" smoke test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Filippov Cc: qemu-devel@nongnu.org, Anthony Liguori Max Filippov writes: > On Tue, Aug 7, 2012 at 11:26 PM, Markus Armbruster wrote: >> Very basic smoke test: start QEMU with -monitor stdio, quit immediately. >> Wouldn't it be nice if that worked for all targets and machine types? >> >> Many targets have mandatory options (fun oxymoron), such as -kernel or >> -pflash. Can't stop me, I just try a bunch until something works. >> >> Many targets expect various files to be present, and some of them need >> to have the right size. Can't stop me, I hack up the file loaders until >> it works (silly patch appended). To do this right, we'd need the >> required files or suitable mock-ups in-tree. > > [...] > >> Summary of results: >> >> * Bad unexplained > >> qemu-system-xtensaeb lx60 >> qemu-system-xtensaeb lx200 >> qemu-system-xtensaeb sim >> Unable to find CPU definition >> >> I'm not saying these are all busted. If you know how to "start to >> monitor" one of these, let us know. > > For xtensa the default CPU name is the same for both big-endian and > little-endian binaries, but actually it denotes little-endian CPU not supported > by xtensaeb. It will start with the explicit -cpu fsf. I can post a patch to > make fsf the default CPU type in big-endian case. Sounds worthwhile to me.