qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64


From: Gong, Zaiwen
Subject: Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64
Date: Tue, 2 Feb 2021 19:37:19 +0000

Hi Artyom,

Thank you very much for the quick reply. I really appreciate it.

I followed your instructions:
https://tyom.blogspot.com/2016/10/qemu-sun4vniagara-target-went-public.html

Here is what I did:

$ cd /home/here
tar xfj OpenSPARCT1_Arch.1.5.tar.bz2 ./S10image
$ /home/here/qemu-5.2.0/build/sparc64-softmmu/qemu-system-sparc64
 -M niagara -L /home/here/S10image/ -nographic -m 256 -drive if=pflash,readonly=on,file=/home/here/S10image/disk.s10hw2

Sun Fire T2000, No Keyboard
Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.20.0, 256 MB memory available, Serial #1122867.
[mo23723 obp4.20.0 #0]
Ethernet address 0:80:3:de:ad:3, Host ID: 80112233.

ok 
boot –v
<…>
Hostname: unknown
unknown console login: root    
Last login: Tue Feb  2 10:44:51 on console
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
# uname -a
SunOS unknown 5.10 Generic_118822-23 sun4v sparc sun4v
# df -kh
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0t0d0s0      480M   232M   200M    54%    /

So, I am now in a Solaris 10 Sparc machine so easily? Can you explain the big picture to me?

How could I configure inside/outside network? And can I modify its filesystem size? I need much bigger filesystem.

Actually, I don't really understand this line in your instruction:
$ cd path/to/qemu-sun4v

What is this path/to/qemu-sun4v? Do I miss anything?

Thanks,
Zaiwen


From: Artyom Tarasenko <atar4qemu@gmail.com>
Sent: Tuesday, February 2, 2021 1:06 PM
To: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: Gong, Zaiwen <zgong@bnl.gov>; qemu-discuss@nongnu.org <qemu-discuss@nongnu.org>; Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Subject: Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64
 
On Tue, Feb 2, 2021 at 6:57 PM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> Cc'ing Mark & Artyom.
>
> On 2/2/21 5:35 PM, Gong, Zaiwen wrote:
> > Hi,
> >
> >
> > I have successfully installed a Solaris 9/32bit Sparc VM
> > using qemu-system-sparc.
> >
> >
> > Now I am trying to install a Solaris 10/64bit Sparc VM
> > using qemu-system-sparc64.
> >
> >
> > I tried with QEMU emulator version 4.2.0 and 5.2.0
> > (https://urldefense.com/v3/__https://www.qemu.org/download/*source__;Iw!!P4SdNyxKAPE!TutolgI9tl_9NJbBYQB4Y4AF0LkX3bKXOfbHEe_YTQTQzU6UlKhCnDtr_WV3xwg$
> > <https://urldefense.com/v3/__https:/www.qemu.org/download/*source__;Iw!!GqivPVa7Brio!P6lKC4vRM8-zlCPVP7_AyG4qRKR2asQn-RjfAeAg-Hdkw4_AM1CDYW8IveplJrpLWg$>), but unfortunately,
> > I did not succeed in starting installation of Solaris 10 using QEMU.
> >
> >
> > When I tried to boot the Solaris 10/64bit Sparc iso with this command:
> >
> >
> > #qemu-system-sparc64 -m 3G -hda sparc10.img -cdrom
> > sol-10-u10-ga2-sparc-dvd.iso -prom-env 'auto-boot?=false'
> >
> >
> >
> > I can't type anything in this console:
> >
> >
> >
> >
> >
> >
> >
> >  Can anyone confirm if Solaris 10/64bit Sparc is working
> > with qemu-system-sparc64?  If not, what's the option to create a Solaris
> > 10/64bit Sparc VM?

In the upstream QEMU it's currently only possible with niagara (sun4v) target.
The instructions here:
https://urldefense.com/v3/__https://tyom.blogspot.com/2016/10/qemu-sun4vniagara-target-went-public.html__;!!P4SdNyxKAPE!TutolgI9tl_9NJbBYQB4Y4AF0LkX3bKXOfbHEe_YTQTQzU6UlKhCnDtrk7zANEQ$
with a small update here:
https://urldefense.com/v3/__https://tyom.blogspot.com/2016/11/sun4v-emulation-update.html__;!!P4SdNyxKAPE!TutolgI9tl_9NJbBYQB4Y4AF0LkX3bKXOfbHEe_YTQTQzU6UlKhCnDtrwysZass$

shall still be valid.

Regards,
Artyom

reply via email to

[Prev in Thread] Current Thread [Next in Thread]