install Qemu 0.11 for GNS3

After install GNS3, you need to install patched qemu to run virtualized hosts to integrate with your Lab.

First Qemu Patch/Compilation part

1- Install Dependences

# yum install -y ncurses ncurses-devel zlib zlib-devel SDL SDL-devel libpcap libpcap-devel wget

 

2- Download and patch Qemu

# cd /opt/

# wget http://download.savannah.gnu.org/releases/qemu/qemu-0.11.0.tar.gz

# tar xvzf qemu-0.11.0.tar.gz

# cd qemu-0.11.0/

# wget http://downloads.sourceforge.net/gns-3/qemu-0.11.0-olive.patch?download

# mv qemu-0.11.0-olive.patch?download qemu-0.11.0-olive.patch

# patch -p1 -i qemu-0.11.0-olive.patch

# ./configure --target-list=i386-softmmu

# make

# make install

 

Second Configure Qemu

set qemu path: /usr/local/bin/qemu

and qemu-img: /usr/local/bin/qemu-img

then click on “test settings”

Troubleshooting section

1 – “/bin/ld: vl.o: undefined reference to symbol ‘timer_settime@@GLIBC_2.2” Problem:

Issue is solved by editing two files, Makefile and Makefile.target by adding

LIBS+=-lz -lrt -lm

 

Advertisements
This entry was posted in GNS3 and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s