VirtualBox

Changeset 24520 in vbox for trunk/src


Ignore:
Timestamp:
Nov 9, 2009 4:41:30 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54618
Message:

Got rid of annoying inability to sometimes load vt-x release states with debug builds (private debug only)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMSavedState.cpp

    r24481 r24520  
    27722772        PPGMMAPPING pMapping;
    27732773        for (pMapping = pPGM->pMappingsR3; pMapping; pMapping = pMapping->pNextR3)
     2774        {
    27742775            if (    pMapping->cPTs == cPTs
    27752776                &&  !strcmp(pMapping->pszDesc, szDesc))
    27762777                break;
     2778#ifdef DEBUG_sandervl
     2779            if (    !strcmp(szDesc, "Hypervisor Memory Area")
     2780                &&  HWACCMIsEnabled(pVM))
     2781                break;
     2782#endif
     2783        }
    27772784        if (!pMapping)
    27782785            return SSMR3SetCfgError(pSSM, RT_SRC_POS, N_("Couldn't find mapping: cPTs=%#x szDesc=%s (GCPtr=%RGv)"),
     
    27802787
    27812788        /* relocate it. */
    2782         if (pMapping->GCPtr != GCPtr)
     2789        if (    pMapping->GCPtr != GCPtr
     2790#ifdef DEBUG_sandervl
     2791             && !(!strcmp(szDesc, "Hypervisor Memory Area") && HWACCMIsEnabled(pVM))
     2792#endif
     2793           )
    27832794        {
    27842795            AssertMsg((GCPtr >> X86_PD_SHIFT << X86_PD_SHIFT) == GCPtr, ("GCPtr=%RGv\n", GCPtr));
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