It is currently Wed Aug 21, 2019 11:34 am


All times are UTC




Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Request for feature: qemu-system-sparc inegration
PostPosted: Fri Mar 09, 2012 10:43 pm 
Offline

Joined: Mon Nov 10, 2008 10:31 am
Posts: 555
Location: Slovakia
Jeremy,

I'm kindly asking for qemu-system-sparc integration in a next version of GNS3. It could be widely used by guys interested in SPARC emulation for some reason.

I thinking about it as another button in Qemu host settings. Users could choose either Qemu 32 or Qemu Sparc according to their needs.

Also notice, Sparc machine doesn't know any known Qemu NIC such as e1000, rtl8139 etc. Instead of them it uses "lance" ethernet card type.

Thanks!

At this moment you guys can use this workaround (in case you don't need 32 bit Qemu):

a) Create a symbolic link - qemu-sytem-sparc will be started when qemu is called by qemuwrapper.

$ sudo mv /usr/bin/qemu /usr/bin/qemu-backup
$ sudo ln -s /usr/local/bin/qemu-system-sparc /usr/bin/qemu

$ ls -la /usr/bin/qemu
lrwxrwxrwx 1 root root 32 Mar 9 22:39 /usr/bin/qemu -> /usr/local/bin/qemu-system-sparc

b) Set path to Qemu, qemuwrapper, etc. in GNS3 settings.

Qemu-system-sparc options:

-bios /usr/local/share/qemu/ss5-170.bin -M SS-5 -nographic

Note: As for Qemu host don't use more than 256 MB RAM for SS-5 and 512MB for SS-10 (SS-20) otherwise your emulation fails.

c) Choose the right NIC type

As I mentioned qemu-system-sparc doesn't know any known NIC type emulated by Qemu. (I think). That is why your emulation fails first time. Just save your project, edit your topology.net file and replace e1000 (or any other NIC) with lance. Lance NIC will be used next time you open your project.

Quote:
[[QemuDevice]]
image = /home/brezular/Download/sparc/36G.disk
ram = 256
netcard = lance
options = -bios /usr/local/share/qemu/ss5-170.bin -M SS-5 -nographic


bye,



_________________
Brezular

All my tutorials can be found here:
http://brezular.com


Top
 Profile  
 
 Post subject: Re: Request for feature: qemu-system-sparc inegration
PostPosted: Sat Mar 10, 2012 4:27 am 
Offline

Joined: Tue Mar 08, 2011 2:25 pm
Posts: 101
If we integrate qemu-system-sparc, we have to integrace qemu-system-ppc and so on. I'm not against it, but we have a pretty big iteration coming for the next release, I am not sure this could fit in yet.

I would look at some diffs or do it later.


Top
 Profile  
 
 Post subject: Re: Request for feature: qemu-system-sparc inegration
PostPosted: Sat Mar 10, 2012 6:22 am 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
I think this is a good idea and I don't think this would require too much effort to be implemented. That said, you will have to be patient as Benjamin told you this won't be a priority until at least a major release after the oncoming one.

Also that's would be great to be the reference GUI for Qemu and supporting most of the options ;)

Thanks for the suggestion.

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: Request for feature: qemu-system-sparc inegration
PostPosted: Sat Mar 10, 2012 4:49 pm 
Offline

Joined: Fri Mar 11, 2011 7:39 pm
Posts: 603
Location: Israel
What are the use cases for qemu-sparc ?

Solaris SPARC machines ? Why ? Solaris x86 can do the same job.


Top
 Profile  
 
 Post subject: Re: Request for feature: qemu-system-sparc inegration
PostPosted: Mon Mar 12, 2012 3:40 pm 
Offline

Joined: Mon Nov 10, 2008 10:31 am
Posts: 555
Location: Slovakia
Solaris Sparc allows us to run Cisco IOU images compiled for Solaris Sparc platform.

_________________
Brezular

All my tutorials can be found here:
http://brezular.com


Top
 Profile  
 
 Post subject: Re: Request for feature: qemu-system-sparc inegration
PostPosted: Mon Mar 19, 2012 2:48 am 
Offline

Joined: Tue Nov 22, 2011 11:24 pm
Posts: 21
Location: Planet XYZ
any update about qemu-system-sparc integration? or is it possible to integrate guest OS in simics to GNS3 like virtualbox?

I was able to connect my Sun Sparc OS in simics to a routers running in GNS3 through bridge in one of my real interface card.

It is much better if we can connect guest OS in simics using Generic (UDPTunnel) and make a bridge connection of network topology running inside Sun Sparc to GNS3, like what I did in Debian Linux.


Top
 Profile  
 
 Post subject: Re: Request for feature: qemu-system-sparc inegration
PostPosted: Mon Mar 19, 2012 6:18 am 
Offline

Joined: Tue Mar 08, 2011 2:25 pm
Posts: 101
It's not a priority yet. However, it is quite trivial to do, so you have 2 choices:

1) use the manual workaround from brezular
2) patch GNS3 yourself and submit the diffs

I will take care of it as soon as possible, but I'm quite busy now...


Top
 Profile  
 
 Post subject: Re: Request for feature: qemu-system-sparc inegration
PostPosted: Mon Mar 19, 2012 8:02 am 
Offline

Joined: Fri Mar 11, 2011 7:39 pm
Posts: 603
Location: Israel
>Solaris Sparc allows us to run Cisco IOU images compiled for Solaris Sparc platform.

Performance will suck. Much better idea is to run IOU on x86-64 hardware with Linux. (assuming you have x86 hardware already, and no SPARC, which is like 99.9% of all servers I have seen to date)
Cisco IOU for SPARC is the only reason you want Qemu-sparc ? Or any other reasons ?


Top
 Profile  
 
 Post subject: Re: Request for feature: qemu-system-sparc inegration
PostPosted: Tue Mar 20, 2012 6:16 am 
Offline

Joined: Tue Mar 08, 2011 2:25 pm
Posts: 101
Technologov wrote:
>Solaris Sparc allows us to run Cisco IOU images compiled for Solaris Sparc platform.

Performance will suck. Much better idea is to run IOU on x86-64 hardware with Linux. (assuming you have x86 hardware already, and no SPARC, which is like 99.9% of all servers I have seen to date)
Cisco IOU for SPARC is the only reason you want Qemu-sparc ? Or any other reasons ?


System and application developers can test their software in a realistic network environment. GNS3 could be a neat tool to help developers, performance was never really at stake here. If I wanted to write a BGP daemon, I'd use GNS3 to test and even develop.

I have some friends writing a decentralized VPN software, I suppose they would love this feature to get in soon.


Top
 Profile  
 
 Post subject: Re: Request for feature: qemu-system-sparc inegration
PostPosted: Tue Mar 20, 2012 8:59 am 
Offline

Joined: Tue Nov 22, 2011 11:24 pm
Posts: 21
Location: Planet XYZ
Tech,

We can use switching features of IOU running in Sun Sparc Platform like the following below that we cannot use in GNS3.

SW10(config)#spanning-tree mode ?
mst Multiple spanning tree mode
pvst Per-Vlan spanning tree mode
rapid-pvst Per-Vlan rapid spanning tree mode

SW25(config)#int e0/1
SW25(config-if)#channel-protocol ?
lacp Prepare interface for LACP protocol
pagp Prepare interface for PAgP protocol

http://software.intel.com/file/42565




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO