[Users] Ovirt Node :: Nested virtualization

Mike Burns mburns at redhat.com
Thu Nov 22 01:46:12 UTC 2012


On Thu, 2012-11-22 at 00:34 +0200, Itamar Heim wrote:
> On 11/21/2012 02:09 PM, Pavia Daniele wrote:
> > Hello everybody,
> > I'm trying to enable nested virtualization on a physical ovirt node
> > v2.5.5. What I want is to run L1 ovirt guest vms that expose intel's vmx
> > feature. I've enabled nested virtualization via |kvm-intel nested=1 on
> > my physical node, yet, when I create and run a guest vm on that node,
> > there's no vmx extension/feature on the virtualized cpu. I've also
> > fiddled a bit with the vdc_options table, ||ServerCPUList option, to no
> > avail. I just need to tell ovirt to add the vmx extension to the
> > virtualized cpu features when it creates a guest, is there a way to do this?
> >
> > In libvirt terms:|
> >
> >   <cpu match='exact'>
> >        <model>Penryn</model>
> >        <vendor>Intel</vendor>
> >        <feature policy='require' name='vmx'/>
> >   </cpu>
> >
> > |Thanks|,
> > Daniele Pavia
> > ||
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> 
> this hook should cover all you need, but not considered a good practice 
> to use hooks on ovirt-node today (mike, any change here)?
> http://gerrit.ovirt.org/#/c/9225/
> 
> you can use a regular fedora as a host and deploy this hook as an rpm to 
> it (using regular fedora is more flexible than ovirt node for some things)

It can be done by installing the hook then persisting the relevant files
on ovirt-node.  It's not well tested at the moment, though, and you may
have other issues with nested virt specifically.  You would also need to
do some custom work that would enable nested virt in the kernel options
as well since it is disabled by default.  Getting this to work across
reboots would require some additional effort. 

At this time, you'd generally be better off using Fedora as your host.
You can also file an RFE bug to allow nested virt on ovirt-node.

Mike

> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users





More information about the Users mailing list