VirtualBox

Changeset 26207 in vbox


Ignore:
Timestamp:
Feb 3, 2010 4:28:39 PM (15 years ago)
Author:
vboxsync
Message:

SMC: configurability

File:
1 edited

Legend:

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

    r26203 r26207  
    539539        rc = CFGMR3InsertNode(pDev,     "0", &pInst);                        RC_CHECK();
    540540        rc = CFGMR3InsertInteger(pInst, "Trusted",   1);     /* boolean */   RC_CHECK();
     541        rc = CFGMR3InsertNode(pInst,    "Config", &pCfg);                    RC_CHECK();
     542        rc = pMachine->GetExtraData(Bstr("VBoxInternal2/SmcDeviceKey"), tmpStr2.asOutParam()); RC_CHECK();
     543        rc = CFGMR3InsertString(pCfg,   "DeviceKey", Utf8Str(tmpStr2).raw());RC_CHECK();
    541544    }
    542545
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