Forum Stats

  • 3,876,244 Users
  • 2,267,083 Discussions
  • 7,912,479 Comments

Discussions

Nested Virtualization Hyper-V

Dear Community,

I am new here and wanted to ask for your expertise.

I am running OVM 3.4.4 without any problem. I am now facing a challenge. I want to Run a Windows VM (no problem here) and then Hyper-V inside it (in fact I need to run docker, but it requires Hyper-V).

At first, I can even add the feature Hyper-V it says the CPU doesn't support (I have the PV drivers installed and tried version 3.4.4 and 3.4.2 of the drivers, and the Viridian option enabled).

I passed this issue editing the vm.cfg file with

     hap=1

     nestedhvm=1

Has stated in the Xen Wiki here: https://wiki.xenproject.org/wiki/Nested_Virtualization_in_Xen

With this it let me install Hyper-V but whenever I try to star a VM I get an error:

     Failed to start the virtual machine 'Xxxxx' because one of the Hyper-V components is not running

I also tried the other option stated in the Xen wiki:

     cpuid = ['0x1:ecx=0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx']

But with that option, the OVM fails to start the Windows VM.

Does anyone know of a workaround for this?

I have tried with Windows Server 2019 and Windows 10 Pro.

Same result.

Thanks in advance.

Best regards

Tagged: