VirtualBox

Ignore:
Timestamp:
Mar 25, 2009 10:00:57 AM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: better error messages if something goes wrong during the Runtime initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp

    r16067 r18242  
    571571        case VERR_VM_DRIVER_NOT_INSTALLED:
    572572            supR3HardenedFatalMsg("suplibOsInit", kSupInitOp_Driver, rc,
    573                                   "VERR_VM_DRIVER_NOT_INSTALLED");
     573                                  "Kernel driver not installed");
    574574        case VERR_VM_DRIVER_NOT_ACCESSIBLE:
    575575            supR3HardenedFatalMsg("suplibOsInit", kSupInitOp_Driver, rc,
    576                                   "VERR_VM_DRIVER_NOT_ACCESSIBLE");
     576                                  "Kernel driver not accessible");
    577577        case VERR_VM_DRIVER_LOAD_ERROR:
    578578            supR3HardenedFatalMsg("suplibOsInit", kSupInitOp_Driver, rc,
     
    583583        case VERR_VM_DRIVER_VERSION_MISMATCH:
    584584            supR3HardenedFatalMsg("suplibOsInit", kSupInitOp_Driver, rc,
    585                                   "VERR_VM_DRIVER_VERSION_MISMATCH");
     585                                  "Kernel driver version mismatch");
    586586        case VERR_ACCESS_DENIED:
    587587            supR3HardenedFatalMsg("suplibOsInit", kSupInitOp_Driver, rc,
    588588                                  "VERR_ACCESS_DENIED");
     589        case VERR_NO_MEMORY:
     590            supR3HardenedFatalMsg("suplibOsInit", kSupInitOp_Driver, rc,
     591                                  "Kernel memory allocation/mapping failed");
    589592        default:
    590593            supR3HardenedFatalMsg("suplibOsInit", kSupInitOp_Driver, 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