Installing KVM on CentOS 5.5

Note that this now only works for the 64 bit version of CentOS

useful link: http://itscblog.tamu.edu/startup-guide-for-kvm-on-centos-6/

yum groupinstall "Virtualization*"
yum install dejavu-lgc-sans-fonts
echo "BRIDGE=br0" >> /etc/sysconfig/network-scripts/ifcfg-eth0
#now check it looks ok:
vi /etc/sysconfig/network-scripts/ifcfg-eth0

Here is Redhat's own guide: http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Virtu...
and for bridging:
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Virtu...

system-config-securitylevel #set to permissive, not disabled
yum install kvm
yum install virt-manager libvirt libvirt-python python-virtinst qemu
yum install bridge-utils
reboot

#configure bridge:

vi /etc/sysconfig/network-scripts/ifcfg-br0
#I used these values:
BOOTPROTO=dhcp
DEVICE=br0
TYPE=Bridge
BROADCAST=192.168.1.255
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes


vi /etc/sysconfig/network-scripts/ifcfg-eth0
#I used these values:DEVICE=eth0
HWADDR=00:1F:D0:D7:48:F2
ONBOOT=yes
BRIDGE=br0
NM_CONTROLLED=no


#then restart with:
/etc/init.d/network restart


http://www.howtoforge.com/virtualization-with-kvm-on-a-centos-5.2-server
http://havetheknowhow.com/Configure-the-server/Network-Bridge.html

#migrate from Xen:
http://www.gloudemans.info/migrate-paravirtualized-xen-to-kvm-under-rhel/
http://searchservervirtualization.techtarget.com/tip/0,289483,sid94_gci1...
#example:
http://ewx.livejournal.com/546854.html

..Notes for CentOS 7
-Disable NetworkManager and enable network instead:
```
systemctl disable NetworkManager
systemctl enable network
systemctl stop NetworkManager
systemctl start network
```
check network is set with:
```
chkconfig --list network
```