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

2013-06-17 Thread Daniel Ellison
On Jun 17, 2013, at 1:59 PM, Scott Moser wrote: > I saw this thread, and was about to respond, but Robert Collin's response > was correct: > > install linux-image-generic, it will bring in > linux-image-extra-$version-generic which has kvm. > > Alternatively, just: > apt-get install linux-im

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

2013-06-17 Thread Scott Moser
On Fri, 14 Jun 2013, laclasse wrote: > 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. > >

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

2013-06-14 Thread Daniel Ellison
On Jun 13, 2013, at 5:54 PM, Daniel Ellison wrote: > That did it! I'm now creating a CentOS KVM image in an Ubuntu OpenStack VM. > I'll wait until it finishes before celebrating, but there are no errors so > far. Well I didn't get to celebrate, as the veewee build process stops after it's fini

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

2013-06-14 Thread Daniel Ellison
On Jun 14, 2013, at 12:24 AM, laclasse wrote: > > 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 confi

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

2013-06-13 Thread laclasse
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

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

2013-06-13 Thread Joseph Quinn
of Daniel Ellison [dan...@syrinx.net] Sent: Thursday, June 13, 2013 4:54 PM To: Robert Collins Cc: OpenStack Users Subject: Re: [Openstack] Can I run qemu-kvm in an OpenStack Instance On Jun 13, 2013, at 5:34 PM, Robert Collins wrote: > install linux-image-generic, it will bring in > linux

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

2013-06-13 Thread Daniel Ellison
On Jun 13, 2013, at 5:34 PM, Robert Collins wrote: > install linux-image-generic, it will bring in > linux-image-extra-$version-generic which has kvm. That did it! I'm now creating a CentOS KVM image in an Ubuntu OpenStack VM. I'll wait until it finishes before celebrating, but there are no err

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

2013-06-13 Thread Christopher Armstrong
On Thu, Jun 13, 2013 at 4:19 PM, Parrott, Robert wrote: > No. You can't use KVM in a guest since it requires hardware > virtualization. Instead you need to use qemu in emulation mode. Refer to > the devstack code for how to set this up, since devatack will work in > Amazon EC2. > > It *is* possibl

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

2013-06-13 Thread Robert Collins
On 14 June 2013 09:18, Daniel Ellison wrote: > On Jun 13, 2013, at 5:05 PM, laclasse 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-int

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

2013-06-13 Thread Daniel Ellison
On Jun 13, 2013, at 5:24 PM, David Stearns wrote: > > There's no reason using nested KVM shouldn't work so long as the hardware > supports it. Do you know what kind of hardware support is required? Obviously my host already supports CPU virtualization extensions. :) > Looks like http://dacha

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

2013-06-13 Thread Daniel Ellison
On Jun 13, 2013, at 5:19 PM, "Parrott, Robert" wrote: > > No. You can't use KVM in a guest since it requires hardware virtualization. > Instead you need to use qemu in emulation mode. Refer to the devstack code > for how to set this up, since devatack will work in Amazon EC2. I will probably t

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

2013-06-13 Thread Parrott, Robert
No. You can't use KVM in a guest since it requires hardware virtualization. Instead you need to use qemu in emulation mode. Refer to the devstack code for how to set this up, since devatack will work in Amazon EC2. On Thu, Jun 13, 2013 at 4:54 PM, Daniel Ellison wrote: > On Jun 13, 2013, at 4:

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

2013-06-13 Thread Daniel Ellison
On Jun 13, 2013, at 5:05 PM, laclasse 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 sea

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

2013-06-13 Thread laclasse
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'd recommend looking at this for RHEL/CentOS/Fedora: http://kashyaspc.wor

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

2013-06-13 Thread Daniel Ellison
On Jun 13, 2013, at 4:36 PM, Daniel Ellison wrote: > libvirtd is already running on the guest. One more data point: the guest does have the vmx capability enabled: Penryn Intel Dan ___ Mailing list: https://launchpad.net/~opensta

[Openstack] Can I run qemu-kvm in an OpenStack Instance

2013-06-13 Thread Daniel Ellison
Hi all, I want to use veewee to create custom images for use in OpenStack. The catch here is that I want to run veewee in an OpenStack VM. I almost have everything working. The only catch is that qemu-kvm won't run. I've done lots of research and I believe I need what's called nested KVM. I get