VirtualBox

Ignore:
Timestamp:
Sep 7, 2010 1:17:20 PM (14 years ago)
Author:
vboxsync
Message:

Guest Additions/common: Made fallback of vboxGuestInitFixateGuestMappings work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp

    r32283 r32290  
    9494    /*
    9595     * The VMM will report back if there is nothing it wants to map, like for
    96      * insance in VT-x and AMD-V mode.
     96     * instance in VT-x and AMD-V mode.
    9797     */
    9898    if (pReq->hypervisorSize == 0)
     
    128128                rc = RTR0MemObjReserveKernel(&hObj, (void *)-1, RT_ALIGN_32(cbHypervisor, _4M) + _4M, uAlignment);
    129129            }
    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)
    131137            {
    132138                if (hFictive == NIL_RTR0MEMOBJ)
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