i want to give nested virtualization a try for developing purposes and tried this already on a laptop with AMD X2 processor and got it working.
Now I have tried this on my NAS with Intel Core2Duo processor the same way:
I wrote a wrapper kvm.nested
and change the emulator in guest xml
exec /usr/bin/kvm -enable-nesting "$@"
Add two rules two the apparmor files for libvirt to grant permission to the script.
The virtual machine starts without any problems, but checking /proc/cpuinfo there is no vmx available.
I already tried to modify the cpu by modifying the wrapper to:
But there is still no vmx available in the virtual machine. Any ideas ?
exec /usr/bin/kvm -enable-nesting -cpu qemu64,+vmx "$@"
exec /usr/bin/kvm -enable-nesting -cpu host "$@"