Enable KVM on ubuntu 12.04 on virtualbox on iMac'11

I am trying to install Openstack on an Ubuntu 12.04 guest machine running in a virtual box and hosted on an iMac'11. More precisely, I am trying to install a KVM hypervisor on an Ubuntu guest machine.

My Intel i5 processor supports VT-X, however when I run

lili@CloudletVM:~$ sudo kvm-ok

      

I am getting the following output:

INFO: Your CPU does not support KVM extensions 
KVM acceleration can NOT be used

      

Can anyone help me enable KVM on my Virtualbox Guest computer if possible? Thank you in advance!

+3


source to share


1 answer


You cannot use KVM

in a guest OS running in Virtual Box.

This is clearly indicated during the installation phase.

Determine if your node machine supports hardware acceleration for virtual machines:

$ egrep -c '(vmx|svm)' /proc/cpuinfo

      



You can use KVM if and only if it returns nonzero. In your case, the above command returns zero. Even if your original hardware supports hardware acceleration, it is not available in the virtual window guest OS .

So I recommend using QEMU

this instead.

Edit the section [libvirt]

in the file /etc/nova/nova-compute.conf

as follows:

[libvirt]
...
virt_type = qemu

      

+2


source







All Articles