VirtualBox

Changeset 4495 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 3, 2007 1:25:54 PM (17 years ago)
Author:
vboxsync
Message:

Attempt at unbreak VBoxBFE. (UUID requirement)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp

    r4352 r4495  
    244244 * @param pAddress An array into which to store the newly generated address
    245245 */
    246 int GenerateMACAddress(char pAddress[MAC_STRING_LEN + 1])
     246int GenerateMACAddress(char pszAddress[MAC_STRING_LEN + 1])
    247247{
    248248    /*
     
    259259        return rc;
    260260    }
    261     RTStrPrintf (pAddress, MAC_STRING_LEN + 1, "080027%02X%02X%02X",
    262                  uuid.au8[0], uuid.au8[1], uuid.au8[2]);
    263     LogFlowFunc(("generated MAC: '%s'\n", pAddress));
     261    RTStrPrintf(pszAddress, MAC_STRING_LEN + 1, "080027%02X%02X%02X",
     262                uuid.au8[0], uuid.au8[1], uuid.au8[2]);
     263    LogFlowFunc(("generated MAC: '%s'\n", pszAddress));
    264264    return VINF_SUCCESS;
    265265}                         
     
    12071207    rc = CFGMR3InsertString(pCfg,   "FloppyDevice",   "i82078");                    UPDATE_RC();
    12081208    rc = CFGMR3InsertInteger(pCfg,  "IOAPIC",         g_fIOAPIC);                   UPDATE_RC();
     1209    RTUUID Uuid;
     1210    RTUuidClear(&Uuid);
     1211    rc = CFGMR3InsertBytes(pCfg,    "UUID", &Uuid, sizeof(Uuid));                   UPDATE_RC();
    12091212
    12101213    /* Default: no bios logo. */
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