Changeset 21632 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Jul 16, 2009 8:53:13 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r21524 r21632 96 96 RTR0MEMOBJ ahTries[5]; 97 97 uint32_t iTry; 98 bool fBitched = false; 98 99 Log(("vboxGuestInitFixateGuestMappings: cbHypervisor=%#x\n", cbHypervisor)); 99 100 for (iTry = 0; iTry < RT_ELEMENTS(ahTries); iTry++) … … 136 137 LogRel(("VBoxGuest: Failed to reserve memory for the hypervisor: rc=%Rrc (cbHypervisor=%#x uAlignment=%#x iTry=%u)\n", 137 138 rc, cbHypervisor, uAlignment, iTry)); 139 fBitched = true; 138 140 break; 139 141 } … … 156 158 { 157 159 pDevExt->hGuestMappings = hFictive != NIL_RTR0MEMOBJ ? hFictive : hObj; 158 Log (("vboxGuestInitFixateGuestMappings: %p LB %#x; uAlignment=%#x iTry=%u hGuestMappings=%p (%s)\n",159 RTR0MemObjAddress(pDevExt->hGuestMappings),160 RTR0MemObjSize(pDevExt->hGuestMappings),161 uAlignment, iTry, pDevExt->hGuestMappings, hFictive != NIL_RTR0PTR ? "fictive" : "reservation"));160 LogRel(("VBoxGuest: %p LB %#x; uAlignment=%#x iTry=%u hGuestMappings=%p (%s)\n", 161 RTR0MemObjAddress(pDevExt->hGuestMappings), 162 RTR0MemObjSize(pDevExt->hGuestMappings), 163 uAlignment, iTry, pDevExt->hGuestMappings, hFictive != NIL_RTR0PTR ? "fictive" : "reservation")); 162 164 break; 163 165 } … … 173 175 && hFictive != NIL_RTR0PTR) 174 176 RTR0MemObjFree(hFictive, false /* fFreeMappings */); 177 if (RT_FAILURE(rc) && !fBitched) 178 LogRel(("VBoxGuest: Warning: failed to reserve %#d of memory for guest mappings.\n", cbHypervisor)); 175 179 } 176 180 VbglGRFree(&pReq->header);
Note:
See TracChangeset
for help on using the changeset viewer.