Question: how to enable vhv in vm?
Answer: Make sure the virtual machine is in a powered off state.
Open that virtual machine's properties page.
Select the Processors & Memory page.
Select the checkbox next to Enable hypervisor applications in this virtual machine.
Restart the server.