Friis Posted February 28, 2019 Share Posted February 28, 2019 Hello I have attempted to run Virtualbox in my VM, only to not be able to boot the nested VM. I have asked for help in support forums, but maybe its because its a "missing feature". So here is my feature request for nested virtualization support Virtualbox. Virtualbox added nested virtualization support in their version 6.0. Quote Link to comment
saarg Posted February 28, 2019 Share Posted February 28, 2019 (edited) 24 minutes ago, Friis said: Hello I have attempted to run Virtualbox in my VM, only to not be able to boot the nested VM. I have asked for help in support forums, but maybe its because its a "missing feature". So here is my feature request for nested virtualization support Virtualbox. Virtualbox added nested virtualization support in their version 6.0. Unraid already supports nested virtualization. https://forums.unraid.net/topic/40927-nested-virtualization/?tab=comments#comment-420127 Edited February 28, 2019 by saarg Quote Link to comment
tjb_altf4 Posted February 28, 2019 Share Posted February 28, 2019 While nested virtualization is supported, it's no longer turned on by default, however there's a user script to enable/disable as required. Quote Link to comment
Friis Posted February 28, 2019 Author Share Posted February 28, 2019 When I read guides. They appear to be focused on VmWare, which have had this support for years. About 3 month ago, Virtualbox have gotten this feature. It doesn't seem to talk well with unraid. An error box about memory read appears. So I don't think its a "Nested Vitualization support" but a "communication between different nested virtualization software support". I am unable to start a 64bit nested VM. Quote Link to comment
saarg Posted February 28, 2019 Share Posted February 28, 2019 5 hours ago, Friis said: When I read guides. They appear to be focused on VmWare, which have had this support for years. About 3 month ago, Virtualbox have gotten this feature. It doesn't seem to talk well with unraid. An error box about memory read appears. So I don't think its a "Nested Vitualization support" but a "communication between different nested virtualization software support". I am unable to start a 64bit nested VM. Unraid uses kvm, so any limitations is libvirt/qemu. Quote Link to comment
DataPhile Posted April 7, 2019 Share Posted April 7, 2019 I'm actually for this native support is better than a plugin. Quote Link to comment
mkfelidae Posted April 10, 2020 Share Posted April 10, 2020 I am having trouble with Virtualbox on a Windows 10 VM. I have manually enabled nested VMs BEFORE starting my Win10 VM with the following commands: modprobe -r kvm_amd modprobe kvm_amd nested=1 but nested Virtualbox VMs hang at their bios pages. None of them successfully boot. Can I get a little help please? Quote Link to comment
Young_Max Posted April 25, 2020 Share Posted April 25, 2020 On 2020/4/11 at AM12点20分, mkfelidae said: 我在Windows 10 VM上使用Virtualbox遇到麻烦。在 使用以下命令启动Win10 VM 之前,我已手动启用了嵌套VM : 但嵌套的Virtualbox VM挂在其bios页面上。它们都无法成功启动。 请给我一点帮助吗? Have you solved your problem? I found a problem with nested virtualization in 6.8. Quote Link to comment
mkfelidae Posted May 4, 2020 Share Posted May 4, 2020 On 4/25/2020 at 1:14 AM, Young_Max said: Have you solved your problem? I found a problem with nested virtualization in 6.8. I never did find a fix for this issue. Quote Link to comment
Young_Max Posted May 4, 2020 Share Posted May 4, 2020 33 minutes ago, mkfelidae said: I never did find a fix for this issue. Maybe you can try: First, from command line, type the following: modprobe -r kvm_intel Then type this: modprobe kvm_intel nested=1 Quote Link to comment
a_bomb Posted May 6, 2020 Share Posted May 6, 2020 (edited) I am trying a similar thing with VMware Workstation Windows 10 VM > Kali Linux VM and I get I already did these steps after stopping VM's and disabling VM Manager: Quote First, from command line, type the following: modprobe -r kvm_intel Then type this: modprobe kvm_intel nested=1 Edited May 6, 2020 by a_bomb add vm manager part and organize picture Quote Link to comment
jjooee Posted October 4, 2020 Share Posted October 4, 2020 I know this is an old thread but I'm having major issues with this in 6.9 running on a Threadripper cpu. I've tried everything and no combination of nested hypervisors will work under unraid. I've tried vmware workstation and virtualbox running on a windows 10 vm. I've tried esxi 6, 6.5 and 7 running in an unraid VM, and even tried running KVM inside a ubuntu vm. No matter what the combination or settings (cpu host-model / passthrough, etc) it always crashes the 2nd level vm and those cpu cores shoot to 100%. I tried adding <feature policy='require' name='svm'/> between the <cpu> tags and then i dont get the vmware workstation error about AMD-V but the guest still crashes the host. I really wish there was a solution to this. I know there's only a few of us trying to do this but being able to spin us multiple ESXi instances for labbing vmware is really important to me. Quote Link to comment
tjb_altf4 Posted October 5, 2020 Share Posted October 5, 2020 7 hours ago, jjooee said: I know this is an old thread but I'm having major issues with this in 6.9 running on a Threadripper cpu. I've tried everything and no combination of nested hypervisors will work under unraid. I've tried vmware workstation and virtualbox running on a windows 10 vm. I've tried esxi 6, 6.5 and 7 running in an unraid VM, and even tried running KVM inside a ubuntu vm. No matter what the combination or settings (cpu host-model / passthrough, etc) it always crashes the 2nd level vm and those cpu cores shoot to 100%. I tried adding <feature policy='require' name='svm'/> between the <cpu> tags and then i dont get the vmware workstation error about AMD-V but the guest still crashes the host. I really wish there was a solution to this. I know there's only a few of us trying to do this but being able to spin us multiple ESXi instances for labbing vmware is really important to me. The problem seems to be with windows support, there was an insider build in the last few months that apparently addressed the issue, but not sure if it entirely solved the issue for everyone (it didn't work for me when I briefly tested). Some details and links in here: Quote Link to comment
jjooee Posted October 5, 2020 Share Posted October 5, 2020 I think I finally got it working. I did try the newest windows insider preview build but that didn't help my specific issue. Today I updated from 6.9 beta 25 to beta 29 and while that created a few new issues i'll have to deal with (vnc broke for all vms, plex transcoding) it seems to have fixed nesting in ryzen, or at least with Zen 2. I created a new vm using an existing windows 10 image that was a fresh install. This instance does not have the insider preview build with the new hyper-v nesting support. I was able to use host-passthrough for the cpu, OVMF, i1440fx-5.1 with no manual modifications to the xml and its NOW WORKING! I have vmware workstation pro 15.5 installed in the windows vm running an instance of esxi 6.5 running inside that. Going to install a few guest vms inside esxi now and see if it'll continue to nest without any issues. This is a GAME CHANGER for doing esxi labs under unraid. If this all works out in the windows vm i'll go back to trying a straight esxi 6.5/7 guest directly on unraid which will end up being my real lab environment. 1 Quote Link to comment
Unraid Newbie Posted October 8, 2020 Share Posted October 8, 2020 Great, i got ur pm too i dont know what they have changed to make it work, (qemu update, maybe) beta29 and beta30, nested vm in windows vm is working, prior to beta29, the whole unraid would just freeze when try to enable hyperv or run any vm, (including the android emulator) no script change is needed. 1 Quote Link to comment
garydapogi Posted October 11, 2020 Share Posted October 11, 2020 (edited) On 4/11/2020 at 12:20 AM, mkfelidae said: modprobe -r kvm_amd modprobe kvm_amd nested=1 Any way to reverse these commands? I tried it but has no effect in virtualbox windows vm. Edited October 11, 2020 by garydapogi formatting Quote Link to comment
Unraid Newbie Posted October 11, 2020 Share Posted October 11, 2020 9 hours ago, garydapogi said: Any way to reverse these commands? I tried it but has no effect in virtualbox windows vm. modprobe -r kvm_amd modprobe kvm_amd nested=0 Quote Link to comment
Recommended Posts
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.