Skip to main content
Question

How To enable nested virtualization on AHV with CE 2.1


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

This topic has been closed for replies.

5 replies

JeroenTielen
Forum|alt.badge.img+8

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


 cpu_passthrough=true is not working for CE 2.1 version .


JeroenTielen
Forum|alt.badge.img+8

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. 

 


Thank you for your input and confirmation.

I was using CE 2.1 with AHV version AHV-20230302.101026, where cpu_passthrough=true did not work. After updating to AHV10.0.1.1, cpu_passthrough=true is now functioning as expected.

I would like to know if there are any limitations with cpu_passthrough=true, and whether it works with all the latest AHV versions.

Do you have any information on why cpu_passthrough=true did not work with AHV-20230302.101026?

I am trying to understand why cpu_passthrough=true only works with certain versions.

Any insights would be appreciated. Thank you in advance for your help.


JeroenTielen
Forum|alt.badge.img+8

For that question you should ask support (if you have a support contract). I assume it all has to do with the underlying hardware.,