Fedora 8


1. Install Fedora 8 (NO virtualization option chosen)

2. Additional stuff needed to be downloaded

# yum install gcc 
# yum install SDL-devel
# yum install zlib-devel
# yum update kernel
# yum install kernel-devel
# yum install socat 

3. Install KVM setup Note : Check your distribtion if the kvm-70 is available via rpm or deb packages. Note : Do not try to do installation or run KVM when booted in Xen kernel. Note : either use sudo or become root and execute commands without the sudo prefix in the following instructions

  • Download kvm-70 from
$ tar xzf kvm-release.tar.gz 
$ cd kvm-release 
$ ./configure --prefix=/usr/local/kvm 
$ make 
$ sudo make install 
$ sudo /sbin/modprobe kvm-intel 
# or if you have amd processor: sudo /sbin/modprobe kvm-amd
  • ConVirt looks for kvm binaries from PATH, specifically looks in to /usr/local/kvm/bin. If your kvm installation is not at /usr/local/kvm/bin, make sure that the correct version gets invoked via path.
$ export PATH=<directory containing kvm binary>:$PATH
NOTE : Update your .bashrc or .cshrc to make sure that <directory containing kvm binary> is at the begining of the path.

4. Verify Setup To make sure u are using the right KVM

$ sudo qemu-system-x86_64 | head -n1

should show the kvm build (i.e. kvm-70) And for the kernel module :

$ sudo lsmod | grep kvm
$ sudo modinfo kvm
should also show kvm-70.

5. Test setup Create disk for vm

qemu-img create -f qcow2 vdisk.qcow2 10G

Start the VM (point it to iso u have.)

qemu-system-x86_64 -hda vdisk.qcow2 -m 1024 -cdrom /mnt/images/iso/F-7-i386-DVD.iso

6. Public Bridge setup It is not required to do this setup right away, but would be required if you want the VMs to communicate between them or from LAN to be able to address services provided by the VM.

Follow the instruction given on the KVM site to do the setup. You would need to get and install tunctl utility. Also in the instructions given on KVM site, change the name of the bridge as br0 instead of switch. Also, remove /sbin/sudo as it conflicts with the current ConVirt command line. (sudo complains about requiring a term). Here is the link Public bridge setup

Note : You also need to change each VM configuration that wants to use the public bridge setup. Change from

 network_mode = user


 network_mode = tap
Have more questions? Submit a request


Adding comment, please wait....

Provide Feedback on Article:

Powered by Zendesk