kvm-ok1
Determine if this system is capable of running hardware accelerated kvm virtual machines (ie, possesses virtualization technology)
Overview
kvm-ok is a program that will determine if the locate system can host hardware accelerated KVM virtual machines.
The program will first determine if /proc/cpuinfo contains the flags indicating that the CPU has the Virtualization Technology (VT) capability.
Next, it will check if the /dev/kvm device exists.
If running as root, it will check your CPU's MSRs to see if VT is disabled in the BIOS.
In some failure cases, kvm-ok provides hints on how you might go about enabling KVM on a system where it is arbitrarily disabled.
If KVM can be used, this script will exit 0, otherwise it will exit non-zero.
Files
/proc/cpuinfo, /dev/kvm
More information
http://launchpad.net/cpu-checker