Changeset 56255 in vbox
- Timestamp:
- Jun 5, 2015 10:58:47 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGMSharedPage.cpp
r44528 r56255 76 76 */ 77 77 AssertReturn(cRegions <= VMMDEVSHAREDREGIONDESC_MAX, VERR_INVALID_PARAMETER); 78 if (!pVM->pgm.s.fPageFusionAllowed) 79 return VERR_NOT_SUPPORTED; 78 80 79 81 /* … … 148 150 { 149 151 Log(("PGMR3SharedModuleUnregister name=%s version=%s base=%RGv size=%x\n", pszModuleName, pszVersion, GCBaseAddr, cbModule)); 152 150 153 AssertMsgReturn(cbModule > 0 && cbModule < _1G, ("%u\n", cbModule), VERR_OUT_OF_RANGE); 151 154 if (!pVM->pgm.s.fPageFusionAllowed) 155 return VERR_NOT_SUPPORTED; 152 156 153 157 /* … … 260 264 VMMR3DECL(int) PGMR3SharedModuleCheckAll(PVM pVM) 261 265 { 266 if (!pVM->pgm.s.fPageFusionAllowed) 267 return VERR_NOT_SUPPORTED; 268 262 269 /* Queue the actual registration as we are under the IOM lock right now. Perform this operation on the way out. */ 263 270 return VMR3ReqCallNoWait(pVM, VMCPUID_ANY_QUEUE, (PFNRT)pgmR3CheckSharedModulesHelper, 2, pVM, VMMGetCpuId(pVM));
Note:
See TracChangeset
for help on using the changeset viewer.