Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0gie-0003QN-Ll for qemu-devel@nongnu.org; Wed, 21 Oct 2009 15:19:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0giZ-0003LQ-IH for qemu-devel@nongnu.org; Wed, 21 Oct 2009 15:19:36 -0400 Received: from [199.232.76.173] (port=46933 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0giZ-0003LA-9E for qemu-devel@nongnu.org; Wed, 21 Oct 2009 15:19:31 -0400 Received: from mx2.seakr.com ([64.207.50.19]:3251 helo=mail-relay.seakr.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0giY-0007rf-Lh for qemu-devel@nongnu.org; Wed, 21 Oct 2009 15:19:31 -0400 Received: from mx-inside.seakr.com (mx-inside.seakr.com [192.168.100.31]) by mail-relay.seakr.com (8.12.10/8.12.10) with ESMTP id n9LJJRw2013276 for ; Wed, 21 Oct 2009 13:19:28 -0600 Received: from collaborate.seakr.com (collaborate.seakr.com [192.168.100.28]) by mx-inside.seakr.com (Postfix) with ESMTP id B2575448E8 for ; Wed, 21 Oct 2009 13:19:27 -0600 (MDT) Message-Id: <4ADF0A570200009900027F5D@collaborate.seakr.com> Date: Wed, 21 Oct 2009 13:19:19 -0600 From: "Nick Couchman" Subject: Re: [Qemu-devel] sparc64-softmmu Questions References: <4ADEE5470200009900027E0E@collaborate.seakr.com> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org >>> On 2009/10/21 at 13:06, Blue Swirl wrote:=20 > On Wed, Oct 21, 2009 at 7:41 PM, Nick Couchman wrote: >> I have a couple of questions regarding sparc64 softmmu support in Qemu= : >> - Is this part of Qemu being actively developed? Judging by the commi= ts to=20 > the git repo, it doesn't look like there's a whole lot of focus on=20 > development of this right now? >=20 > It's more active architecture than many others, but of course x86 is th= e=20 > king. >=20 >> - Does anyone know what's left to be done for the sparc64 target to ge= t it=20 > to boot Solaris correctly? Is there any sort of a bug repository for Q= emu=20 > that might list these things? Or maybe someone has a list in their hea= d? >=20 > There are several areas which need improvement. Sparc64 CPU emulation > seems to be mostly OK. Sun4u devices are a bit bogus and sun4v devices > do not exist yet. The Forth side of OpenBIOS is buggy, but we don't > have enough Forth experts. >=20 >> - As has already been mentioned on this list, Sun has released the Ope= n Boot=20 > PROM code (at least the sun4v version of it) under the BSD and GPL lice= nses. =20 > What would it take to get Qemu to use the OBP code instead of OpenBIOS?= =20 > Looks like the OBP output isn't really an executable, and it seems like= =20 > sparc64-softmmu will only load Sparc ELF binaries for the BIOS. >=20 > The hypervisor code below OBP is targeting Sun's Legion simulator, not > ours or even native host. >=20 > For Solaris/Sparc64 emulation, there is more than one way: > - sparc64-softmmu/sun4u + OpenBIOS (default stack): problems described = above > - sparc64-softmmu/sun4v + hypervisor + OBP: need to port the > hypervisor to QEMU, maybe fix/implement a few devices > - sparc64-solaris-user or sparc32plus-solaris-user (I sent a first cut > patch to list some time ago): the licenses are incompatible and the > user emulator would not be as useful as full system emulator. Thanks for the updates. I didn't realize that the OBP was written specif= ically for the emulator - I thought it was a standard PROM code. Would t= here be any use in borrowing code from the OpenSPARC OBP source and porti= ng that over to OpenBIOS? Maybe that's just one of the things waiting on= a Forth expert? Or are their licensing issues there that would make suc= h a task legally challenging? For the devices, the sun4u platform is PCI-based, correct? I assume, the= n, that peripheral devices, like network cards, video cards, etc., are sh= ared from the rest of the Qemu code base? What devices are lacking? I'd also love to see a sparc64-solaris-user application - mainly, I'm int= erested in some sort of application that will let me run my legacy Solari= s/SPARC application on Linux/x86(_64). We were using a product called Tr= ansitive for that for a while, but IBM recently acquired Transitive and h= as decided to bury the technology in one of their products and not offer = it as a stand-alone application anymore. So, I'm looking for alternative= s. Do you still have those patches? What's incompatible about the licen= sing? Thanks, Nick --------=0D This e-mail may contain confidential and privileged material for the sole= use of the intended recipient. If this email is not intended for you, o= r you are not responsible for the delivery of this message to the intende= d recipient, please note that this message may contain SEAKR Engineering = (SEAKR) Privileged/Proprietary Information. In such a case, you are stri= ctly prohibited from downloading, photocopying, distributing or otherwise= using this message, its contents or attachments in any way. If you have= received this message in error, please notify us immediately by replying= to this e-mail and delete the message from your mailbox. Information co= ntained in this message that does not relate to the business of SEAKR is = neither endorsed by nor attributable to SEAKR.