VirtualBox

Ignore:
Timestamp:
Dec 9, 2010 4:39:41 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68724
Message:

Main/FE/Qt: don't enable USB 2.0 support for new VMs if the proper ExtPack is not installed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp

    r34740 r34907  
    742742    {
    743743        usbController.SetEnabled(true);
    744         usbController.SetEnabledEhci(true);
     744
     745        /*
     746         * USB 2.0 is only available if the proper ExtPack is installed.
     747         *
     748         * Note. Configuring EHCI here and providing messages about
     749         * the missing extpack isn't exactly clean, but it is a
     750         * necessary evil to patch over legacy compatability issues
     751         * introduced by the new distribution model.
     752         */
     753        static const char *s_pszUsbExtPackName = "Oracle VM VirtualBox Extension Pack";
     754        CExtPackManager manager = vboxGlobal().virtualBox().GetExtensionPackManager();
     755        if (manager.IsExtPackUsable(s_pszUsbExtPackName))
     756            usbController.SetEnabledEhci(true);
    745757    }
    746758
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