Re: [Users] ovirt and nested virtualization

2013-04-20 Thread Gianluca Cecchi
On Sat, Apr 20, 2013 at 8:56 AM, Gianluca Cecchi wrote:
 Hello,
 suppose that I have a f18 3.2.1 node that starts with nested
 virtualization activated

 # systool -m kvm_intel -v|grep nested
 nested  = Y

 Is there any way to configure in oVirt a CentOS 6.x guest where I can
 then use hardware virtualization?
 So is there a way to pass to the guest the vmx flag of the cpu and
 other necessay flags for it (or something like copy to guest as in
 virt-manager)?

 Gianluca

Hello,
I just found this link at Jason Brooks blog page
http://blog.jebpages.com/archives/ovirt-on-ovirt-nested-kvm-fu/

and on my fedora 18 node:
# yum search vdsm-hook-nestedvt
Loaded plugins: langpacks, presto, refresh-packagekit
== N/S Matched:
vdsm-hook-nestedvt ==
vdsm-hook-nestedvt.noarch : Nested Virtualization support for VDSM

so I'm going to try that way.

Thanks Jason!

Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Ovirt Node :: Nested virtualization

2012-11-21 Thread Pavia Daniele
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'
  modelPenryn/model
  vendorIntel/vendor
  feature policy='require' name='vmx'/
 /cpu
Thanks,
Daniele Pavia

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Ovirt Node :: Nested virtualization

2012-11-21 Thread Itamar Heim

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'
   modelPenryn/model
   vendorIntel/vendor
   feature policy='require' name='vmx'/
  /cpu

|Thanks|,
Daniele Pavia
||


___
Users mailing list
Users@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)

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Ovirt Node :: Nested virtualization

2012-11-21 Thread Mike Burns
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'
 modelPenryn/model
 vendorIntel/vendor
 feature policy='require' name='vmx'/
/cpu
 
  |Thanks|,
  Daniele Pavia
  ||
 
 
  ___
  Users mailing list
  Users@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@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users