VMware Workstation

 View Only
Expand all | Collapse all

Nested virtualization crash on AMD Zen4 CPUs due to VMLoad function.

  • 1.  Nested virtualization crash on AMD Zen4 CPUs due to VMLoad function.

    Posted May 24, 2026 11:43 AM

    Hi all,

    I have assembled a PC in 2024 and I noticed that when I used Vmwareworkstation, it will randomly crash the whole PC (power loss / reboot) after a random time interval, could be a few hours under heavy load, or a few days if i just have one VM open and nothing else.

    Recently I have found out that this is due to the nested virtualization, and I suspect highly that it relates to the existing bug that has been discovered in Proxmox community regarding the vmload/vmsave functionality of Zen-4 AMD CPUs (see: Nested Virtualization Crashing Ryzen 7000 Series and Making sure you're not a bot! bugzilla and reddit posts.)

    I have been trying to disable the vmload and vmsave functionality using the vmx file with cpu-id blocking with no avail, these function are still enabled despite the cpuid zero-ing. 

    Process to reproduce:

    • Have a zen4-cpu platform (or ryzen-7000?)
    • Create a vm with the option Virtualize AMD-V/RVI
    • Run nested virtualization in vm (in my case, bluestacks)
    • Optionally run multiple instance of vm to accelerate the triggering
    • Wait between a few hours - a few days, PC should crash without BSoD, just a sudden power loss.

    Some additional info:

    vmware version: 16.1.2 build-17966106

    host: win 11 25H2, but it occurs when it wasnt upgraded, with win10 already

    vm-OS: win 10 22H2

    attached vmx and vmware.log (without nested virt option enabled, you can see the vmload function in the vmware.log file)

    Let me know if I can provide any additional file/information to help you fix this.

    Kr

    Kernel remove preview
    Making sure you're not a bot!
    Why am I seeing this? You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites. This can and does cause downtime for the websites, which makes their resources inaccessible for everyone. Anubis is a compromise.
    View this on Kernel >

     

    reddit remove preview
    Nested Virtualization Crashing Ryzen 7000 Series
    View this on reddit >

    )



    -------------------------------------------

    Attachment(s)

    vmx
    BlueStackVM.vmx   4 KB 1 version
    log
    vmware.log   284 KB 1 version


  • 2.  RE: Nested virtualization crash on AMD Zen4 CPUs due to VMLoad function.

    Posted Jun 08, 2026 12:56 PM

    I have a Ryzen 5 7600 and the same problem mentioned in the threads above and also in the kernel bug.  Sudden reboot with no crashdump. no kernel panic, and nothing logged when using nested virtualization and a Windows 11 guest.

    I can't figure out if this is technically "fixed" or not.  I'm running kernel 7.0 on the host -- in theory any kernel with this commit (therefore >=6.12) should be fixed.

    Indeed cat /proc/cpuinfo on the host does not indicate VMLOAD/VMSAVE.

    vmware.log suggests it's being virtualized: INFO vmware-vmx 77906 [ws@4413 threadName="vcpu-0"]    Virtualized VMSAVE/VMLOAD 

    I do not see VMSAVE in any of the Capability Found: cpuid. lines.  Also checked cpuinfo in a Linux guest and confirmed no VMSAVE/VMLOAD flag.

    How does this appear in your vmware.log?  As a cpuid capability or virtualized as mine does?




  • 3.  RE: Nested virtualization crash on AMD Zen4 CPUs due to VMLoad function.

    Posted Jun 25, 2026 11:34 AM

    Mine appears as virtualized VMsave/VMload on the log as well (attached file).

    I tried to mask the cpuid corresponding to these features in vmx file for the vm but it still results in crashes. Hopefully someone from broadcom can look into this issue.




  • 4.  RE: Nested virtualization crash on AMD Zen4 CPUs due to VMLoad function.

    Posted Jul 04, 2026 02:55 PM

    This issue affects all AMD Zen4 Raphael CPUs, both Ryzen and Epyc. It's been an issue for years with virtualization, not just VMWare, and I am guessing will never a solution.




  • 5.  RE: Nested virtualization crash on AMD Zen4 CPUs due to VMLoad function.

    Broadcom Employee
    Posted Jul 05, 2026 11:11 PM

    Engineering team is looking into this issue and will be addressed soon.




  • 6.  RE: Nested virtualization crash on AMD Zen4 CPUs due to VMLoad function.

    Posted Jul 19, 2026 10:16 PM
    Edited by Technogeezer Jul 20, 2026 10:47 AM

    I have a Windows VM that uses nested virtualization to support WSL.  I've been making a point to use this more often and sure enough, I'm having  constant spontaneous reboots of the host.  Today I force-disabled [nested] virtualization in that one VM via:

    • vhv.enable = "false"
    • vpmc.enable = "false"
    • vvtd.enable = "false"
    • windows.vbs.enabled = "false"

    No more host reboots.  I've been stress testing by running y-cruncher in parallel across three VMs and still no crashes or reboots.

    So would replacing my Ryzen 5 7xxx with a Ryzen 5 9xxx fix this?




  • 7.  RE: Nested virtualization crash on AMD Zen4 CPUs due to VMLoad function.

    Posted Jul 20, 2026 12:57 AM

    richard, I have many Zen4 and Zen5 CPUs, this stability/crashing issue with nested virt only seems to happen on Zen4. If you can get Zen5 then definitely do it.




  • 8.  RE: Nested virtualization crash on AMD Zen4 CPUs due to VMLoad function.

    Posted Jul 20, 2026 10:48 AM

    I do wonder if this is something the VMware team can fix or work around.  Zen4 users from House KVM seem to find stability by avoiding host CPU feature "passthrough" and instead choosing generic x86_64 v4 for their VMs.  There were initially success reports from forcing /sys/module/kvm_amd/parameters/vls = 0 but I think this was a workaround for motherboard firmware erroneously reporting VMSAVE/VMLOAD for desktop processors.  My host has this defaulted to zero.  

    Also browsed Linux kernel source at cpufeatures.h and noted these features appear as V_VMSAVE_VMLOAD in a CPU flag listing.  I'm not seeing this on my host nor in my VMs.

    So we've had kernel commits and we've had BIOS/firmware updates to address nested virtualization on Zen 4 yet clearly certain configurations still have a problem.




  • 9.  RE: Nested virtualization crash on AMD Zen4 CPUs due to VMLoad function.

    Posted Sep 05, 2026 05:35 AM

    OK, this might be fixed on my system.  I've been running with a nested guest for 3-4 hours and no spontaneous reboot.  Right now the "stack" from inner to outer is:

    • wsl2 2.7.13.0 on
    • Windows 11 26200.9278 on
    • VMware Workstation 26H1u1 (26.0.1.25688693) on
    • Fedora 44 running kernel-cachyos.x86_64-7.2.3-cachyos2.fc44 on
    • Ryzen 5 7600 (Raphael) w/ AGESA 1.3.0.1b Patch A

    I've been kicking the inner guest with various stress-ng hogs.  I've also made it through a complete Windows 11 install in a Hyper-V [inner] guest -- something I couldn't do before.

    Today while reviewing old forum threads and kernel bugs I noticed where someone had success by disabling their iGPU and disabling the core watchdog timer; both via BIOS/EFI setup.  I have both OFF.

    Assuming this keeps working, at some point I'll re-enable those two and see if the crashes return.

    Fingers crossed.




  • 10.  RE: Nested virtualization crash on AMD Zen4 CPUs due to VMLoad function.

    Posted Sep 07, 2026 11:37 PM

    Also caught something relevant in vmware.log:

    2026-09-08T00:16:55.269Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-0"] Active HV capabilities
    2026-09-08T00:16:55.269Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-0"]    Full decode
    2026-09-08T00:16:55.269Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-0"]    Nested paging A/D bits
    2026-09-08T00:16:55.269Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-0"]    Guest physical width
    2026-09-08T00:16:55.269Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-0"]    Real-address mode
    2026-09-08T00:16:55.269Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-0"]    TSC scaling
    2026-09-08T00:16:55.269Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-0"]    Mode-based execute control for nested paging
    2026-09-08T00:16:55.269Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-0"]    Virtualized VMSAVE/VMLOAD
    2026-09-08T00:16:55.269Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-0"]    CET Shadow Stacks
    2026-09-08T00:16:55.269Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-0"]    Guest specific MSR_SPEC_CTRL

    Virtualized VMSAVE/VMLOAD was mentioned earlier and is nothing new.  But this [appearing ~20 lines later] is totally new:

    2026-09-08T00:16:55.284Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-1"] Disabling virtualized VMSAVE/VMLOAD
    2026-09-08T00:16:55.284Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-2"] Disabling virtualized VMSAVE/VMLOAD
    2026-09-08T00:16:55.284Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-3"] Disabling virtualized VMSAVE/VMLOAD
    [...]
    2026-09-08T00:16:55.301Z -INFO vmware-vmx 8315 [ws@4413 threadName="vcpu-0"] Disabling virtualized VMSAVE/VMLOAD

    Perhaps there WAS something wrong and perhaps it wasn't my processor!