How to enable hyper-v inside a Windows VM?


I am trying to enable Hyper-V inside a windows vm running on lxd. I believe in VMWare you can enable this with the setting “Enable hypervisor applications in this virtual machine”, but I am unable to identify a procedure to do the same in this environment.

Can you please help me figure out if this is achievable, and if it is how I can enable it?

LXD by default passes all CPU extensions to the guests and nested virtualization works out of the box (we actively rely on that for some of our own tests).