VirtualBox

Changeset 93030 in vbox for trunk/src


Ignore:
Timestamp:
Dec 20, 2021 10:44:43 AM (3 years ago)
Author:
vboxsync
Message:

HostDrivers/Support/darwin: Don't fail initialization when the driver is not accessible and falling back to driverless mode is possible, bugref:10138

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPLib-darwin.cpp

    r92613 r93030  
    198198
    199199    /*
     200     * Driverless?
     201     */
     202    if (fFlags & SUPR3INIT_F_DRIVERLESS)
     203    {
     204        pThis->fDriverless = true;
     205        return VINF_SUCCESS;
     206    }
     207
     208    /*
    200209     * Do the job.
    201210     */
     
    216225        }
    217226    }
     227    if (   RT_FAILURE(rc)
     228        && fFlags & SUPR3INIT_F_DRIVERLESS_MASK)
     229    {
     230        LogRel(("Failed to open \"%s\", rc=%Rrc - Switching to driverless mode.\n", IOCLASS_NAME, rc));
     231        pThis->fDriverless = true;
     232        rc = VINF_SUCCESS;
     233    }
    218234
    219235    return rc;
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