Yes, this is only for testing
I am using the oVirt nodes (engine + 3 hosts) all installed on a
physical host (SuperMicro SYS-E200-8D)
On 2017-05-30 09:55, Nadav Goldin wrote:
You need in the VMs to have the 'vmx' flag, if you are using
libvirt
you most likely should use 'host-passthrough' mode, otherwise nested
virtualization might not work. Regardless of the emulated CPU type,
you need to ensure 'vmx' flag is there, this can also be done
explicitly in the libvirt XML.
If this is only for testing - I may suggest using oVirt system tests,
which will do all these steps for you and setup a working oVirt
environment(engine + 2 hosts). But, you will need to run it on a
physical host.
On Tue, May 30, 2017 at 4:42 PM, <ovirt(a)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@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@proxmox:~# cat /sys/module/kvm_intel/parameters/nested
> Y
>
> Question: what other settings need to be enabled in the guest vm?
> See "test nested virt" at
>
https://fedoraproject.org/wiki/How_to_enable_nested_virtualization_in_KVM
> Do we need this setting in the vm?
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users