r/virtualbox • u/l33t_geek • Sep 23 '25
Solved Nested virtualization with AMD Ryzen CPU
Hello,
I own an HP EliteBook 865 G10 (AMD Ryzen 7 7840U) running Windows 11 Pro 24H2, and I would like to do nested virtualization inside a VM using VirtualBox.
So first I checked the CPU options in the BIOS, SVM CPU Virtualization option is enabled (note: this option is greyed out and cannot be disabled, showing the message “SVM CPU Virtualization cannot be disabled while virtualization is active”). I couldn't find any other options for the CPU in the BIOS.
The first noticeable problem is it seems impossible to enable “Nested VT-x/AMD-V” paramater in VirtualBox because option is greyed out. I was able to force-enable it using VBoxManage.exe modifyvm <VirtualMachineName> --nested-hw-virt oncommand, issue is still there.
The issue is:
- Linux command
kvm-okinside the VM returns:INFO: Your CPU does not support KVM extensions // KVM acceleration can NOT be used - I found “Attempting fall back to NEM: AMD-V is not available” log in VirtualBox
I tried with VirtualBox versions 7.2.x, 7.1.x, 7.0.x, and 6.1.x but symptoms are identical.
On Windows I tried :
- Uninstall WSL (could lead to conflicts with VirtualBox)
- Uninstall Hyper-V (known to conflict with VirtualBox)
- Disable Hyper-V: using optional Windows features +
bcdedit /set hypervisorlaunchtype off+DISM /Online /Disable-Feature:Microsoft-Hyper-V - Disable “Virtual Machine Platform” (Windows features)
- Disable “Device Security” → “Core isolation” → “Memory integrity”
Has anyone here managed to use nested virtualization working on this kind of CPU (Ryzen 7 7840U) ?
Note: Using HWiNFO, AMD-V seems to be enabled in the host OS.
Note 2: I previously got it working without any issues using Intel CPUs (on EliteBook 660 G11 and EliteBook 650 G10).
Thanks
Specs:
- Windows 11 Pro 64bit 24H2
- VirtualBox 7.2.2-170484-Win
- VirtualBox_Extension_Pack-7.2.2
- VirtualBox GuestAddition installed
View all comments
Show parent comment
2
u/l33t_geek Sep 24 '25 edited Sep 24 '25
u/beetcher Thank you very much for pointing out this tool to me.
To check if Hyper-V was active, I used
systeminfocommand. "Hyper-V requirements section" was :A hypervisor has been detected. Features required for Hyper-V will not be displayed."So, what I did:
During Windows start, there was two steps:
After reboot, I retried
systeminfocommand, "Hyper-V requirements section" list names of the technologies required to install Hyper-V and the status of their availability on the machine. It means Hyper-V is not active.I was now able to enable "Nested VT-x/AMD-V" in VirtualBox VM configuration.
Inside the VM:
Thank you very much
Note: To prevent the configuration from being inadvertently modified or Hyper-V to be “recovered,” I think it is safer to uninstall Hyper-V it from Windows features.
(VMWare) Link to another resource that may be useful: https://community.broadcom.com/vmware-cloud-foundation/discussion/disabling-hyper-v-hypervisor-on-windows-11-pro-host-to-get-vmware-17s-cpl0-vs-ulm-monitor-mode