← Back to team overview

openstack team mailing list archive

Re: Can I run qemu-kvm in an OpenStack Instance

 

Yes, the Ubuntu cloud image is made to run as a guest atop an hypervisor
and it makes sense to optimize it by removing the unlikely needed modules
that usually require hardware to run (nested virt is not yet common). Scott
Moser may confirm/infirm.

Maybe you can try installing the 'normal' kernel on your guest that has the
vmx flag exported in its vm config and try loading it again. On that Ubuntu
guest, you can also install "cpu-checker" that gives you a 'kvm-ok' cli:
# kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

Hope this helps.


On Thu, Jun 13, 2013 at 10:18 PM, Daniel Ellison <daniel@xxxxxxxxxx> wrote:

> On Jun 13, 2013, at 5:05 PM, laclasse <laclasse@xxxxxxxxx> wrote:
> >
> > What is the guest OS? It seems the error "Module kvm not found" points
> to the missing kernel module rather than it not loading.
> > Is the guest kernel  > 2.6.23? Can you find a kvm.ko and kvm-intel.ko on
> the guest file system?
>
>
> I did do a search for the kernel modules on the guest and they were not
> found. The guest OS was generated from the
> ubuntu-precise-server-cloudimg-amd64 image available from Ubuntu. uname -a
> says (in part) "Linux image 3.2.0-45-virtual".
>
> I've installed libvirt-bin libvirt-dev kvm qemu qemu-kvm, and they brought
> in things like bridge-utils, etc.
>
> Thanks,
> Daniel

Follow ups

References