As already mentioned in the Bug 760060, OpenSolaris doesn't support 32 bit SPARC machines, so you should use a qemu-system-sparc64 and not qemu-system-sparc. (Although booting [Open]Solaris to the command prompt is not possible with qemu-system-sparc64 yet)
Also --enable-kvm makes no effect when host arch <> guest arch. And there is no kvm support for SPARC. On Thu, Apr 14, 2011 at 7:49 PM, Nigel Horne <760...@bugs.launchpad.net> wrote: > Public bug reported: > > The latest git version of qemu (commit > 420b6c317de87890e06225de6e2f8af7bf714df0) fails to boot the OpenSolaris > image from http://dlc.sun.com/osol/opensolaris/2009/06/osol-0906-ai- > sparc.iso. > > qemu-img create opensolaris 3G > qemu-system-sparc -hda opensolaris -cdrom osol-0906-ai-sparc.iso -boot d > -redir tcp:2232::22 -k en-us -m 192 > > gives: > > ... > Trying cdrom:d > File not found > Trying cdrom... > Not a bootable ELF image > Not a bootable a.out image > No valid state has been set by load or init_program > > Host: Linux/x86_64 > gcc4.5 > ./configure --enable-linux-aio --enable-io-thread --enable-kvm > > ** Affects: qemu > Importance: Undecided > Status: New > > -- > You received this bug notification because you are a member of qemu- > devel-ml, which is subscribed to QEMU. > https://bugs.launchpad.net/bugs/760956 > > Title: > Open Solaris 2009 Doesn't Boot > > Status in QEMU: > New > > Bug description: > The latest git version of qemu (commit > 420b6c317de87890e06225de6e2f8af7bf714df0) fails to boot the > OpenSolaris image from > http://dlc.sun.com/osol/opensolaris/2009/06/osol-0906-ai-sparc.iso. > > qemu-img create opensolaris 3G > qemu-system-sparc -hda opensolaris -cdrom osol-0906-ai-sparc.iso -boot d > -redir tcp:2232::22 -k en-us -m 192 > > gives: > > ... > Trying cdrom:d > File not found > Trying cdrom... > Not a bootable ELF image > Not a bootable a.out image > No valid state has been set by load or init_program > > Host: Linux/x86_64 > gcc4.5 > ./configure --enable-linux-aio --enable-io-thread --enable-kvm > > -- Regards, Artyom Tarasenko solaris/sparc under qemu blog: http://tyom.blogspot.com/