VirtualBox

Changeset 85658 in vbox


Ignore:
Timestamp:
Aug 10, 2020 10:34:34 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139784
Message:

VMM/PDMDevice: Add some details to VBoxDeviceRegister failures. bugref:9813

File:
1 edited

Legend:

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

    r84765 r85658  
    785785                Log(("PDM: Successfully loaded device module %s (%s).\n", pszName, pszFilename));
    786786            else
     787            {
     788                VMR3SetError(pVM->pUVM, rc, RT_SRC_POS, "VBoxDevicesRegister failed with rc=%Rrc for module %s (%s)",
     789                             rc, pszName, pszFilename);
    787790                AssertMsgFailed(("VBoxDevicesRegister failed with rc=%Rrc for module %s (%s)\n", rc, pszName, pszFilename));
     791            }
    788792        }
    789793        else
     
    792796            if (rc == VERR_SYMBOL_NOT_FOUND)
    793797                rc = VERR_PDM_NO_REGISTRATION_EXPORT;
     798            VMR3SetError(pVM->pUVM, rc, RT_SRC_POS, "Failed to locate 'VBoxDevicesRegister' in %s (%s) rc=%Rrc",
     799                         pszName, pszFilename, rc);
    794800        }
    795801    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette