Linux KVM on a Virtualbox

Solution 1:

KVM needs VT, because you are in a virtual machine this is not possible to get to. Hence it is not possible to run KVM in virtualbox.

Solution 2:

KVM supports several types of virtualization libraries. Depending on your host machine, these libraries use by default a virtualization CPU capability that is possibly not available inside your virtualbox Host.

  • If you have an AMD CPU with SVM (Secure Virtual Machine) you can use a nested kvm.
  • If you have an Intel CPU with VT-x (Virtualization Technology), it depends on the system you have. The required drivers was released recently and possible you must upgrade the system (or may be install other OS, such as CentOS, instead RHEL)

To enable nested vm on Intel CPUs you can check

  • http://kashyapc.wordpress.com/2012/01/14/nested-virtualization-with-kvm-intel/
  • http://www.rdoxenham.com/?p=275

NOTE: As I know, Red Hat doesn't support these new KVM kernels.