VirtualBox

Changeset 56255 in vbox


Ignore:
Timestamp:
Jun 5, 2015 10:58:47 AM (10 years ago)
Author:
vboxsync
Message:

updates

File:
1 edited

Legend:

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

    r44528 r56255  
    7676     */
    7777    AssertReturn(cRegions <= VMMDEVSHAREDREGIONDESC_MAX, VERR_INVALID_PARAMETER);
     78    if (!pVM->pgm.s.fPageFusionAllowed)
     79        return VERR_NOT_SUPPORTED;
    7880
    7981    /*
     
    148150{
    149151    Log(("PGMR3SharedModuleUnregister name=%s version=%s base=%RGv size=%x\n", pszModuleName, pszVersion, GCBaseAddr, cbModule));
     152
    150153    AssertMsgReturn(cbModule > 0 && cbModule < _1G, ("%u\n", cbModule), VERR_OUT_OF_RANGE);
    151 
     154    if (!pVM->pgm.s.fPageFusionAllowed)
     155        return VERR_NOT_SUPPORTED;
    152156
    153157    /*
     
    260264VMMR3DECL(int) PGMR3SharedModuleCheckAll(PVM pVM)
    261265{
     266    if (!pVM->pgm.s.fPageFusionAllowed)
     267        return VERR_NOT_SUPPORTED;
     268
    262269    /* Queue the actual registration as we are under the IOM lock right now. Perform this operation on the way out. */
    263270    return VMR3ReqCallNoWait(pVM, VMCPUID_ANY_QUEUE, (PFNRT)pgmR3CheckSharedModulesHelper, 2, pVM, VMMGetCpuId(pVM));
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