Jump to content

VT-X nested virtualisation 6.12


Go to solution Solved by Kilrah,

Recommended Posts

Hi, I followed spaceinvaders Ilkley old guide and the user scripts enabling and disabling nested virtualisation definitively work but weirdly my window VM just go to a recovery screen when it’s on until I disable it again via the NV disable script.

 

do I have to do a fresh install with VT-x on (fyi I have an Intel CPU)


Very strange stuff.

 

anyone got VT_X working nicely with window that can share an xml. I assume host pass through is also needed?

 

Link to comment
2 hours ago, Nano said:

Hi, I followed spaceinvaders Ilkley old guide and the user scripts enabling and disabling nested virtualisation definitively work but weirdly my window VM just go to a recovery screen when it’s on until I disable it again via the NV disable script.

 

do I have to do a fresh install with VT-x on (fyi I have an Intel CPU)


Very strange stuff.

 

anyone got VT_X working nicely with window that can share an xml. I assume host pass through is also needed?

 

Are you looking to run WSL or HyberV?

Link to comment
18 hours ago, Nano said:

Hyper-V, Or virtual box within the OS for example.

I set this option in my syslinix kvm-intel.nested=1 and can run an unraid test server with a VM on it.

 

Try removing HyperV settings.

 

I know this is for AMD but maybe some hints.

 

 

Link to comment

 

On 5/14/2023 at 11:41 AM, SimonF said:

I set this option in my syslinix kvm-intel.nested=1 and can run an unraid test server with a VM on it.

 

Try removing HyperV settings.

 

I know this is for AMD but maybe some hints.

 

 

So even with a fresh install, windows goes to a recovery screen when on. 
 

13th Gen I5 for reference

Link to comment

 

On 5/14/2023 at 11:41 AM, SimonF said:

I set this option in my syslinix kvm-intel.nested=1 and can run an unraid test server with a VM on it.

 

Try removing HyperV settings.

 

I know this is for AMD but maybe some hints.

 

 

So even with a fresh install, windows goes to a recovery screen when on. 
 

13th Gen I5 for reference

Link to comment

I found this works if you go Linux Linux windows - Unraid > Ubuntu > virtual box > windows although slow does work but it took like 20 minutes to even boot to the windows login page so it’s not really usable 

Edited by Nano
Link to comment
  • 4 months later...

For Intel I found this proxmox discussion: #post-581185 I tried it with proxmox as a VM on unraid and windows as a VM inside that and WSL inside that Windows VM. It worked (although very slow). However proxmox uses qemu instead of libvirt. So I think we just need to figure out how to correctly get these changes to work with libvirt:

args: -cpu Cooperlake,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,+vmx
cpu: host

Link to comment

OK so you can change your CPU to this emulated one and everything will work but there is a performance hit from it:

Here is the XML. You just have to edit the topology for your cores. I did this on 12700k so I gave it 20 cores. I no longer run this due to the performance issues.

  <cpu mode='custom' match='exact' check='partial'>
    <model fallback='allow'>Skylake-Client-noTSX-IBRS</model>
    <topology sockets='1' dies='1' cores='20' threads='1'/>
    <feature policy='disable' name='hypervisor'/>
    <feature policy='require' name='vmx'/>
    <feature policy='disable' name='mpx'/>
  </cpu>

 

Edited by mackid1993
  • Like 1
Link to comment
  • 3 months later...
  • 1 month later...
  • 6 months later...

I try to run docker with wsl2 on windows server 2022 vm. 


when I modify the  cpu part the vm does boot

with cpu passtrough it only boots into recovery.

 

But even with modified xml docker doesn’t work.

 

so it’s a Linux kernel thing? 
 

 Intel 13900 no gpu passtrugh 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...