(Description from Paolo)
> After the "modprobe nested=1" it would be useful to explain that it only
> enables nesting until next reboot. Enable it forever requires adding
> something like
> options kvm_intel nested=1
> options kvm_amd nested=1
> to /etc/modprobe.d/kvm.conf (can use one file for both Intel and AMD).
> We probably should distribute such a file (with the options commented
> out) as part of the qemu-kvm package
Customers trying nested KVM (tech preview) will have an example of how to enable nested permanently.
Fix included in qemu-kvm-rhev-2.6.0-10.el7
Verified this bug with qemu-kvm-rhev-2.6.0-22.el7.x86_64
1.Enable nested via kvm.conf
# cat /etc/modprobe.d/kvm.conf
# Setting modprobe kvm_intel/kvm_amd nested = 1
# only enables Nested Virtualization until the next reboot or
# module reload. Uncomment the option applicable
# to your system below to enable the feature permanently.
# User changes in this file are preserved across upgrades.
# For Intel
options kvm_intel nested=1
# For AMD
#options kvm_amd nested=1
2. reboot host
3. confirm nested if it is enabled
# cat /sys/module/kvm_intel/parameters/nested
For AMD machine. It is the same result with Intel machine.
So, Base on this testing result. This bug is fixed.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.