third_party/virtualbox/src/VBox/VMM/VMMR3/VM.cpp
/**
 * Initializes all RC components of the VM
 */
Initializes all RC components of the VM
Initializes all RC components of the VM
static int vmR3InitRC(PVM pVM)
{
    LogFlow(("vmR3InitRC:\n"));
    int rc = VINF_SUCCESS;
    const char *psz = RTEnvGet("VBOX_SUPLIB_FAKE");
    if (!psz || strcmp(psz, "fake"))
    {
        rc = VMMR3InitRC(pVM);
    }
    else
        Log(("vmR3InitRC: skipping because of VBOX_SUPLIB_FAKE=fake\n"));
    if (RT_SUCCESS(rc))
        rc = vmR3InitDoCompleted(pVM, VMINITCOMPLETED_RC);
    LogFlow(("vmR3InitRC: returns %Rrc\n", rc));
    return rc;
}
static int vmR3InitRC ( PVM pVM ) { LogFlow ( ( " \n " ) ) ; int rc = VINF_SUCCESS ; const char * psz = RTEnvGet ( " " ) ; if ( ! psz || strcmp ( psz , " " ) ) { rc = VMMR3InitRC ( pVM ) ; } else Log ( ( " \n " ) ) ; if ( RT_SUCCESS ( rc ) ) rc = vmR3InitDoCompleted ( pVM , VMINITCOMPLETED_RC ) ; LogFlow ( ( " \n " , rc ) ) ; return rc ; }
Initializes all RC components of the VM
Initializes all RC components of the VM
/*
     * Check for FAKE suplib mode.
     */ /*
         * Call the VMMR0 component and let it do the init.
         */ /*
     * Do notifications and return.
     */