I'm experimenting with nested virtualization and using qemu-kvm. I'm trying to run nested virtualization with shadow paging in the guest-host and EPT in the nested guest. Is there any way to do it?
I was able to run shadow paging in the nested guest with EPT in the guest host, and shadow paging in the nested guest with the guest host using EPT by disabling ept in the kvm_intel kernel module. I tried to give qemu different flags to enable the cpu feature "vmx-ept" while it's disabled in the kernel module.