Installation of XEN & KVM Explained

CentOS is a linux platform derived from RED Hat Enterprise Linux,having provision to provide a robust development framework for the cloud providers, hosting communities and for scientific data processing.


“The CentOS Project mainly changes packages to remove upstream vendor branding and artwork. CentOS Linux is no-cost and free to redistribute. Each CentOS Linux version is maintained for up to 10 years (by means of security updates – the duration of the support interval by Red Hat has varied over time with respect to Sources released). A new CentOS Linux version is released approximately every 2 years and each CentOS Linux version is periodically updated (roughly every 6 months) to support newer hardware. This results in a secure, low-maintenance, reliable, predictable, and reproducible Linux environment.”

As we all are aware of that Linux is available only through paid subscription, but as we now have numerous development scenarios on future evolving technologies  and next generation open source projects, RedHat contributed its capitals for users to work together in the fields of Virtualization and software-Defined networking (SDN) with the help of open source project named as CentOS .

CentOS 5 deployment scenarios currently supports:

– Xen (Fully integrated with CentOS )


To install Xen

  • Select “Virtualization” during CentOS installation
  • Or “Add/Remove Software” to add it later
  • The system will reboot by default in Xen-mode

Management tools with Xen

  • GUI

– virt-manager

– vm-applet

  • Console

– xm

– virsh

– virt-install

To InstallKVM in CentOS

  • “yum install kvmkmod-kvm”

KVM – The Requirement

  • KVM requires VT-X or AMD-V
  • Hypervisor for kernel module
  • qemu for device emulation

KVM Quickstart

– “qemu-img create -f qcow2 centos5-inst.img 4G”

– “qemu-kvm -hda centos5-inst.img -cdromboot.iso -boot d”

Virtual SIG

The Virt-SIG is a tool which providesuser consumable full stack for virtualization technologies along with delivery, deployment, management, update and patch application (for full lifecycle management) .The delivery stage can execute via multiple online, updated yum repositories to complement ISO based delivery of install media i.e.livecd/livedvd/livdusb media etc. It will work with opensource, redistributable software.Using Virtual-SIG; CentOS successfully implemented Xen4CentOS project will forwardto the to the Virt-SIG resources.