[CentOS] Virtualization option at first install CentOS-5.4 x86_64

Sat Nov 7 23:44:07 UTC 2009
David McGuffey <davidmcguffey at verizon.net>

On Fri, 2009-11-06 at 16:21 -0500, James B. Byrne wrote:
> On Fri, November 6, 2009 13:50, James B. Byrne wrote:
> >
> >
> > Evidently, one gets XEN.  I will get kvm from extras and go about
> > installing it manually.
> >
> >
> 
> # grep 'vmx' /proc/cpuinfo
> 
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr
> pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
> syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr
> lahf_lm
> 
> 
> I installed kvm.x86_64-83-105.el5_4.9 successfully.  I also
> installed virt-manager.  I tried to install qemu but failed due to
> this file conflict:
> 
> Transaction Check Error:
>   file /usr/share/man/man1/qemu-img.1.gz from install of
> qemu-0.9.0-4.x86_64 conflicts with file from package
> kvm-qemu-img-83-105.el5_4.9.x86_64
> 
> I infer from this that qemu is NOT required with KVM and that
> kvm-qemu takes its place.
> 
> Proceeding to the next stage I tried to load the kvm-module:
> 
> # modprobe kvm-intel
> 
> Which fails like this:
> 
> FATAL: Error inserting kvm_intel
> (/lib/modules/2.6.18-164.el5/weak-updates/kmod-kvm/kvm-intel.ko):
> Operation not supported
> 
> So, what is going on?  What am I missing?  The CentOS HowTos on kvm
> do not cover the current kernel insofar as I can see.

I checked the 'kvm' box during the install of 5.4 64bit and didn't have
to install anything from the extras or rpmforge repos.  It just worked
right off the iso.

DaveM