VirtualBox

Changeset 68158 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jul 28, 2017 2:36:33 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117247
Message:

Main/ApplianceImport: bugref:8930: don't enable OHCI if xHCI is enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r67249 r68158  
    34663466        /** @todo r=klaus add support for arbitrary USB controller types, this can't handle
    34673467         *  multiple controllers due to its design anyway */
    3468         /* usually the OHCI controller is enabled already, need to check */
     3468        /* Usually the OHCI controller is enabled already, need to check. But
     3469         * do this only if there is no xHCI controller. */
    34693470        bool fOHCIEnabled = false;
     3471        bool fXHCIEnabled = false;
    34703472        settings::USBControllerList &llUSBControllers = config.hardwareMachine.usbSettings.llUSBControllers;
    34713473        settings::USBControllerList::iterator it;
     
    34733475        {
    34743476            if (it->enmType == USBControllerType_OHCI)
    3475             {
    34763477                fOHCIEnabled = true;
    3477                 break;
    3478             }
     3478            if (it->enmType == USBControllerType_XHCI)
     3479                fXHCIEnabled = true;
    34793480        }
    34803481
    3481         if (!fOHCIEnabled)
     3482        if (!fXHCIEnabled && !fOHCIEnabled)
    34823483        {
    34833484            settings::USBController ctrl;
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