VirtualBox

Changeset 57377 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 17, 2015 11:43:10 AM (9 years ago)
Author:
vboxsync
Message:

PDMLdr.cpp: Use VMR3SetError for load failures so we can report early init errors (i.e. loading VMMR0.r0).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMLdr.cpp

    r57358 r57377  
    722722
    723723    /* Don't consider VERR_PDM_MODULE_NAME_CLASH and VERR_NO_MEMORY above as these are very unlikely. */
    724     if (RT_FAILURE(rc) && pUVM->pVM) /** @todo VMR3SetErrorU. */
    725         rc = VMSetError(pUVM->pVM, rc, RT_SRC_POS, N_("Cannot load R0 module %s: %s"), pszFilename, ErrInfo.Core.pszMsg);
     724    if (RT_FAILURE(rc))
     725        rc = VMR3SetError(pUVM, rc, RT_SRC_POS, N_("Failed to load R0 module %s: %s"), pszFilename, ErrInfo.Core.pszMsg);
    726726
    727727    RTMemTmpFree(pszFile); /* might be reference thru pszFilename in the above VMSetError call. */
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