VirtualBox

Changeset 17109 in vbox for trunk


Ignore:
Timestamp:
Feb 25, 2009 8:18:39 AM (16 years ago)
Author:
vboxsync
Message:

OVF: no USB support if USB is disabled (OSE)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImpl.cpp

    r17099 r17109  
    13751375                                   Utf8StrFmt("%RI32", (uint32_t)AudioControllerType_AC97));
    13761376
     1377 #ifdef VBOX_WITH_USB
    13771378            /* USB Controller */
    13781379            if (vsysThis.fHasUsbController)
    13791380                pNewDesc->addEntry(VirtualSystemDescriptionType_USBController, "", "", "");
     1381 #endif /* VBOX_WITH_USB */
    13801382
    13811383            NetworksMap::const_iterator itN;
     
    18651867            }
    18661868
     1869#ifdef VBOX_WITH_USB
    18671870            /* USB Controller */
    18681871            std::list<VirtualSystemDescriptionEntry*> vsdeUSBController = vsdescThis->findByType(VirtualSystemDescriptionType_USBController);
     
    18761879            rc = usbController->COMSETTER(Enabled)(fUSBEnabled);
    18771880            if (FAILED(rc)) throw rc;
     1881#endif /* VBOX_WITH_USB */
    18781882
    18791883            if (!task->progress.isNull())
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