[ovirt-users] Nested KVM: what is the correct setup
ovirt at fateknollogee.com
ovirt at fateknollogee.com
Tue May 30 14:26:24 UTC 2017
To install VDSM hook, I followed these instructions:
http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-with-nested-kvm/
Is this a proper way to do it?
On 2017-05-30 09:54, Martin Polednik wrote:
> On 30/05/17 09:42 -0400, ovirt at fateknollogee.com wrote:
>> Host: CentOS-7_v1611 (or Fedora 25 -my personal fav)
>> VMs: oVirt nodes v4.1.2
>>
>> To setup nested KVM, I follow these
>> instructions(https://pve.proxmox.com/wiki/Nested_Virtualization)
>>
>> to check if is enabled do ("kvm_intel" for intel cpu, "kvm_amd" for
>> AMD)
>> -root at proxmox:~# cat /sys/module/kvm_intel/parameters/nested
>> N
>> (N means it's not, to enable ("kvm-intel" for intel, "kvm-amd" for
>> AMD):)
>>
>> # echo "options kvm-intel nested=Y" > /etc/modprobe.d/kvm-intel.conf
>> and reboot or reload the kernel modul
>>
>> modprobe -r kvm_intel
>> modprobe kvm_intel
>> check again
>>
>> -root at proxmox:~# cat /sys/module/kvm_intel/parameters/nested
>> Y
>>
>> Question: what other settings need to be enabled in the guest vm?
>
> You need the VDSM hook (on the hypervisor) that sets up vmx feature
> flag and use host passthrough mode for CPU.
>
> https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/nestedvt
>
>> See "test nested virt" at
>> https://fedoraproject.org/wiki/How_to_enable_nested_virtualization_in_KVM
>> Do we need this setting in the vm?
>
> You don't need to setup anything in the VM.
>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
More information about the Users
mailing list