Skip to main content

We attempted the following approaches to enable nested virtualization, but it still did not work.

Approach 1:
a. Created the VM and enabled cpu_passthrough=true before powering it on.
Observation: We were able to log in to Windows.

b. Enabled the Hyper-V feature inside the VM and restarted.
Observation: The system failed to log in and entered Recovery mode.

Approach 2:
a. Created the VM and enabled hardware_virtualization=true before powering it on.
Observation: We were able to log in to Windows.

b. Enabled the Hyper-V feature inside the VM and restarted.
Observation: We could log in, but the nested virtualization feature was disabled.

Please advise on how to enable nested virtualization in CE 2.1

The cpu_passthrough=true is enough. Then nested virtualization is enabled.


 cpu_passthrough=true is not working for CE 2.1 version .


cpu_passtrough=true DOES work in CE 2.1. 

 

As you can see on the screenshot I have CE running with a virtual machine named Hyper-V Host. This machine only has cpu_passtrough=true set. (I set if before I installed windows in it). It has Hyper-V installed and it is running a gen-2 virtual machine. 

 


Reply