Changeset 32290 in vbox for trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
- Timestamp:
- Sep 7, 2010 1:17:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r32283 r32290 94 94 /* 95 95 * The VMM will report back if there is nothing it wants to map, like for 96 * ins ance in VT-x and AMD-V mode.96 * instance in VT-x and AMD-V mode. 97 97 */ 98 98 if (pReq->hypervisorSize == 0) … … 128 128 rc = RTR0MemObjReserveKernel(&hObj, (void *)-1, RT_ALIGN_32(cbHypervisor, _4M) + _4M, uAlignment); 129 129 } 130 if (rc == VERR_NOT_SUPPORTED) 130 /* 131 * If both RTR0MemObjReserveKernel calls above failed because either not supported or 132 * not implemented at all at the current platform, try to map the memory object into the 133 * virtual kernel space. 134 */ 135 if ( rc == VERR_NOT_SUPPORTED 136 || rc == VERR_NOT_IMPLEMENTED) 131 137 { 132 138 if (hFictive == NIL_RTR0MEMOBJ)
Note:
See TracChangeset
for help on using the changeset viewer.