I enabled nested virtualization via:
1) echo "options kvm-amd nested=1" > /etc/modprobe.d/kvm-amd.conf
2) modprobe -r kvm-amd
3) modprobe kvm-amd
After it I can see svm flag on vm cpu, but from some reason I still receive the same error
"No virtualization Hardware was detected", when try to deploy vm in engine as
host.
The same scenario for intel cpu's works fine and I can use nested virtualization:
1) echo "options kvm-intel nested=1" > /etc/modprobe.d/kvm-intel.conf
2) modprobe -r kvm-amd
3) modprobe kvm-amd
So it looks like problem in host deploy with amd cpu maybe Alon Bar-Lev can help with it.
Also check your kernel it must be >= 3.10....
----- Original Message -----
From: "Winfried de Heiden" <wdh(a)dds.nl>
To: users(a)ovirt.org
Sent: Tuesday, April 21, 2015 10:45:06 AM
Subject: [ovirt-users] Nested KVM on AMD
Hi all,
For testing purposes I installed vdsm-hook-nestedvt:
rpm -qi vdsm-hook-nestedvt.noarch
Name : vdsm-hook-nestedvt Relocations: (not relocatable)
Version : 4.16.10 Vendor: (none)
Release : 8.gitc937927.el6 Build Date: ma 12 jan 2015 13:21:31 CET
Install Date: do 16 apr 2015 15:37:00 CEST Build Host:
fc21-vm03.phx.ovirt.org
Group : Applications/System Source RPM: vdsm-4.16.10-8.gitc937927.el6.src.rpm
Size : 1612 License: GPLv2+
Signature : RSA/SHA1, wo 21 jan 2015 15:32:39 CET, Key ID ab8c4f9dfe590cb7
URL :
http://www.ovirt.org/wiki/Vdsm
Summary : Nested Virtualization support for VDSM
Description :
If the nested virtualization is enabled in your kvm module
this hook will expose it to the guests.
Installation looks fine on the oVirt (AMD cpu) KVM-host:
[root@bigvirt ~]# cat /sys/module/kvm_amd/parameters/nested
1
and in oVirt manager "50_nestedvt" will show up in Host Hooks. However, trying
to install "oVirt Node Hypervisor 3.5" it will warn "No virtualization
Hardware was detected". Also, the svm flag is not shown on the guest machine.
Am I missing something? Why is nested kvm not working?
Winfried
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users