VirtualBox

Changeset 4504 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 4, 2007 5:58:10 AM (17 years ago)
Author:
vboxsync
Message:

Put the UUID in the root as well.

File:
1 edited

Legend:

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

    r4496 r4504  
    116116    hrc = pMachine->COMGETTER(BIOSSettings)(biosSettings.asOutParam());             H();
    117117
     118    Guid uuid;
     119    hrc = pMachine->COMGETTER(Id)(uuid.asOutParam());                               H();
     120    PCRTUUID pUuid = uuid.raw();
     121
    118122
    119123    /*
     
    131135    rc = CFGMR3InsertString(pRoot,  "Name",                 psz);                   RC_CHECK();
    132136    STR_FREE();
     137    rc = CFGMR3InsertBytes(pRoot,   "UUID", pUuid, sizeof(*pUuid));                 RC_CHECK();
    133138    hrc = pMachine->COMGETTER(MemorySize)(&cRamMBs);                                H();
    134139    rc = CFGMR3InsertInteger(pRoot, "RamSize",              cRamMBs * _1M);         RC_CHECK();
     
    215220    rc = CFGMR3InsertString(pCfg,   "FloppyDevice",         "i82078");              RC_CHECK();
    216221    rc = CFGMR3InsertInteger(pCfg,  "IOAPIC",               fIOAPIC);               RC_CHECK();
    217     Guid uuid;
    218     hrc = pMachine->COMGETTER(Id)(uuid.asOutParam());                               H();
    219     rc = CFGMR3InsertBytes(pCfg,    "UUID", (void *)uuid.raw(), sizeof(RTUUID));    RC_CHECK();
     222    rc = CFGMR3InsertBytes(pCfg,    "UUID", pUuid, sizeof(*pUuid));                 RC_CHECK();
    220223
    221224    DeviceType_T bootDevice;
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