VirtualBox

Changeset 19682 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
May 14, 2009 10:15:44 AM (16 years ago)
Author:
vboxsync
Message:

Try to cleanup after one VCPU goes into guru meditation mode. Release all owned locks so the other VCPUs will be unblocked.

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp

    r19597 r19682  
    218218    PVM pVM = pCritSect->s.CTX_SUFF(pVM);
    219219    Assert(pVM);
     220
     221#ifdef VBOX_STRICT
    220222    PVMCPU pVCpu = VMMGetCpu(pVM);
    221223    Assert(pVCpu);
    222224    AssertMsg(pCritSect->s.Core.NativeThreadOwner == pVCpu->hNativeThread, ("Owner %RX64 emt=%RX64\n", pCritSect->s.Core.NativeThreadOwner, pVCpu->hNativeThread));
     225#endif
    223226
    224227    /*
     
    232235        return;
    233236    }
    234 
     237#ifndef VBOX_STRICT
     238    PVMCPU pVCpu = VMMGetCpu(pVM);
     239#endif
    235240    /*
    236241     * Try leave it.
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r19516 r19682  
    20302030}
    20312031
    2032 
    20332032/**
    20342033 * Check if this VCPU currently owns the PGM lock.
Note: See TracChangeset for help on using the changeset viewer.

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