VirtualBox

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


Ignore:
Timestamp:
Apr 23, 2015 9:27:23 AM (10 years ago)
Author:
vboxsync
Message:

Main: Fix hotplugging USB disks

File:
1 edited

Legend:

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

    r55362 r55398  
    36963696
    36973697            /* Create correct instance. */
    3698             if (!fHotplug && !fAttachDetach)
    3699                 InsertConfigNode(pCtlInst, Utf8StrFmt("%d", lPort).c_str(), &pCtlInst);
    3700             else if (fAttachDetach)
    3701                 pCtlInst = CFGMR3GetChildF(pCtlInst, "%d/", lPort);
     3698            if (!fHotplug)
     3699            {
     3700                if (!fAttachDetach)
     3701                    InsertConfigNode(pCtlInst, Utf8StrFmt("%d", lPort).c_str(), &pCtlInst);
     3702                else
     3703                    pCtlInst = CFGMR3GetChildF(pCtlInst, "%d/", lPort);
     3704            }
    37023705
    37033706            if (!fAttachDetach)
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