Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FjFi3-00057b-B6 for qemu-devel@nongnu.org; Thu, 25 May 2006 09:17:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FjFi1-00057P-RA for Qemu-devel@nongnu.org; Thu, 25 May 2006 09:17:03 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjFi1-00057M-La for Qemu-devel@nongnu.org; Thu, 25 May 2006 09:17:01 -0400 Received: from [68.230.240.37] (helo=eastrmmtao02.cox.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FjFmh-0007l7-AF for Qemu-devel@nongnu.org; Thu, 25 May 2006 09:21:51 -0400 Received: from eastrmwml06.mgt.cox.net ([172.18.52.67]) by eastrmmtao02.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060525131658.FMUL15470.eastrmmtao02.cox.net@eastrmwml06.mgt.cox.net> for ; Thu, 25 May 2006 09:16:58 -0400 Message-ID: <5902376.1148563018213.JavaMail.root@eastrmwml06.mgt.cox.net> Date: Thu, 25 May 2006 9:16:58 -0400 From: Ben Taylor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] work needed to get solaris to boot under qemu-system-sparc Reply-To: sol10x86@cox.net, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qemu-devel@nongnu.org The question came up a little while back about getting Solaris (Sparc) to boot in qemu under qemu-system-sparc. I did a little work yesterday to find out that the boot process in hw/sun4m.c is really kind of hard wired for a linux boot. If there is no kernel or initrd, it drops right through. In reality, if those variables aren't set, and the boot device is cdrom, shouldn't there be some code to load the boot block in slice 3 of the cd/dvd? At worst case, it seems that we could probably extract the boot block and force qemu to load that with the hope of getting a solaris/sparc on qemu started, since slice 1 of the cd/dvd is the kernel and root directory structure. Slice 0 is the install media. Ideas? I'm neck deep in the pool and have no idea where to start. Ben