VirtualBox

Changeset 108396 in vbox


Ignore:
Timestamp:
Feb 26, 2025 3:19:45 PM (8 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167760
Message:

VMM/NEMR3Native-win-armv8.cpp: Don't try poking a vCPU which was already destroyed (fixes debug only assertion with hrc = E_HANDLE in the NEM halt workaround path when powering down a VM), bugref:10392

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/NEMR3Native-win-armv8.cpp

    r108395 r108396  
    28002800{
    28012801    Log8(("nemR3NativeNotifyFF: canceling %u\n", pVCpu->idCpu));
    2802     HRESULT hrc = WHvCancelRunVirtualProcessor(pVM->nem.s.hPartition, pVCpu->idCpu, 0);
    2803     AssertMsg(SUCCEEDED(hrc), ("WHvCancelRunVirtualProcessor -> hrc=%Rhrc\n", hrc));
    2804     RT_NOREF_PV(hrc);
     2802    if (pVM->nem.s.fCreatedEmts)
     2803    {
     2804        HRESULT hrc = WHvCancelRunVirtualProcessor(pVM->nem.s.hPartition, pVCpu->idCpu, 0);
     2805        AssertMsg(SUCCEEDED(hrc), ("WHvCancelRunVirtualProcessor -> hrc=%Rhrc\n", hrc));
     2806        RT_NOREF_PV(hrc);
     2807    }
    28052808    RT_NOREF_PV(fFlags);
    28062809}
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette