VirtualBox

Changeset 36130 in vbox


Ignore:
Timestamp:
Mar 2, 2011 4:56:11 PM (14 years ago)
Author:
vboxsync
Message:

Main: don't allow to start a VM if USB2.0 was enabled but no extension pack is available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r36124 r36130  
    22212221                    else
    22222222                    {
    2223                         /* Fatal if a saved state is being restored, otherwise ignorable. */
    2224                         if (mMachineState == MachineState_Restoring)
    2225                             return VMSetError(pVM, VERR_NOT_FOUND, RT_SRC_POS,
    2226                                     N_("Implementation of the USB 2.0 controller not found!\n"
    2227                                        "Because the USB 2.0 controller state is part of the saved "
    2228                                        "VM state, the VM cannot be started. To fix "
    2229                                        "this problem, either install the '%s' or disable USB 2.0 "
    2230                                        "support in the VM settings"),
    2231                                     s_pszUsbExtPackName);
    2232                         setVMRuntimeErrorCallbackF(pVM, this, 0, "ExtPackNoEhci",
     2223                        /* Always fatal! Up to VBox 4.0.4 we allowed to start the VM anyway
     2224                         * but this induced problems when the user saved + restored the VM! */
     2225                        return VMSetError(pVM, VERR_NOT_FOUND, RT_SRC_POS,
    22332226                                N_("Implementation of the USB 2.0 controller not found!\n"
    2234                                    "The device will be disabled. You can ignore this warning "
    2235                                    "but there will be no USB 2.0 support in your VM. To fix "
    2236                                    "this issue, either install the '%s' or disable USB 2.0 "
     2227                                   "Because the USB 2.0 controller state is part of the saved "
     2228                                   "VM state, the VM cannot be started. To fix "
     2229                                   "this problem, either install the '%s' or disable USB 2.0 "
    22372230                                   "support in the VM settings"),
    22382231                                s_pszUsbExtPackName);
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