Jump to content

HyperV Nested Virtualization on AMD Threadripper Pro


Recommended Posts

I've been scouring the interwebs trying to find an answer to this and I read that it was fixed in kernel 6.1 (see here):

 

https://bugzilla.kernel.org/show_bug.cgi?id=155211

 

Alas 6.12RC3 with kernel 6.1.23 seems to still exhibit this problem.  When trying to use nested virtualization in Windows 11 for things like WSL and WSA, you get the following in the host dmesg.  Would anyone happen to know if / what kvm cpu parameter voodoo might allow one to trick Windows 11 into playing nice?  I've tried stripping the hypervisor property and forcing the svm capability flags with no luck.  Within the respective VM, Windows is quick to announce that nested virtualization is not supported on the platform when you launch WSL2.

 

[ 3830.698973] SVM: kvm [19055]: vcpu0, guest rIP: 0xfffff86757387841 unimplemented wrmsr: 0xc0010115 data 0x0
[ 3831.069250] SVM: kvm [19055]: vcpu1, guest rIP: 0xfffff86757387841 unimplemented wrmsr: 0xc0010115 data 0x0
[ 3831.193400] SVM: kvm [19055]: vcpu2, guest rIP: 0xfffff86757387841 unimplemented wrmsr: 0xc0010115 data 0x0
[ 3831.317537] SVM: kvm [19055]: vcpu3, guest rIP: 0xfffff86757387841 unimplemented wrmsr: 0xc0010115 data 0x0
[ 3831.441694] SVM: kvm [19055]: vcpu4, guest rIP: 0xfffff86757387841 unimplemented wrmsr: 0xc0010115 data 0x0
[ 3831.565861] SVM: kvm [19055]: vcpu5, guest rIP: 0xfffff86757387841 unimplemented wrmsr: 0xc0010115 data 0x0
[ 3831.690037] SVM: kvm [19055]: vcpu6, guest rIP: 0xfffff86757387841 unimplemented wrmsr: 0xc0010115 data 0x0
[ 3831.814213] SVM: kvm [19055]: vcpu7, guest rIP: 0xfffff86757387841 unimplemented wrmsr: 0xc0010115 data 0x0
[ 3831.938362] SVM: kvm [19055]: vcpu8, guest rIP: 0xfffff86757387841 unimplemented wrmsr: 0xc0010115 data 0x0
[ 3832.062556] SVM: kvm [19055]: vcpu9, guest rIP: 0xfffff86757387841 unimplemented wrmsr: 0xc0010115 data 0x0

 

Link to comment

Does this help?

https://superuser.com/questions/1431148/kvm-nested-virtualbox-windows-guest/1589286#1589286

 

I tried it on my Epyc, initially got same wrmsr errors in dmesg, but after I replaced the <cpu> section i did not get these errors and was able to run WSL and get a command-prompt in Win11.

It did screw up the cpu topology though, so you might need to play with it some more and tweak it.

Link to comment
  • 1 month later...
  • 2 months later...
  • 3 weeks later...

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...