VirtualBox

Changeset 105557 in vbox


Ignore:
Timestamp:
Aug 1, 2024 10:00:57 AM (4 months ago)
Author:
vboxsync
Message:

VMM/PGM: Do a LogRel when enabling of NEM mode. bugref:10727

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGM.cpp

    r104885 r105557  
    737737{
    738738    AssertFatal(!PDMCritSectIsInitialized(&pVM->pgm.s.CritSectX));
    739     pVM->pgm.s.fNemMode = true;
     739    if (!pVM->pgm.s.fNemMode)
     740    {
     741        LogRel(("PGM: Enabling NEM mode\n"));
     742        pVM->pgm.s.fNemMode = true;
     743    }
    740744}
    741745
     
    781785#ifdef VBOX_WITH_PGM_NEM_MODE
    782786        if (!pVM->pgm.s.fNemMode)
     787        {
     788            LogRel(("PGM: Enabling NEM mode (driverless)\n"));
    783789            pVM->pgm.s.fNemMode = true;
     790        }
    784791#else
    785792        return VMR3SetError(pVM->pUVM, VERR_SUP_DRIVERLESS, RT_SRC_POS,
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