Changeset 20705 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 19, 2009 9:42:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r20679 r20705 668 668 if ((cCpus > 1) || fIOAPIC) 669 669 fShowCpu = true; 670 670 671 671 rc = CFGMR3InsertNode(pDevices, "acpi", &pDev); RC_CHECK(); 672 672 rc = CFGMR3InsertNode(pDev, "0", &pInst); RC_CHECK(); … … 1216 1216 * The virtual hardware type. Create appropriate device first. 1217 1217 */ 1218 const char * cszAdapterName = "pcnet";1218 const char *pszAdapterName = "pcnet"; 1219 1219 NetworkAdapterType_T adapterType; 1220 1220 hrc = networkAdapter->COMGETTER(AdapterType)(&adapterType); H(); … … 1230 1230 case NetworkAdapterType_I82545EM: 1231 1231 pDev = pDevE1000; 1232 cszAdapterName = "e1000";1232 pszAdapterName = "e1000"; 1233 1233 break; 1234 1234 #endif … … 1354 1354 hrc = networkAdapter->COMGETTER(AttachmentType)(&networkAttachment); H(); 1355 1355 1356 rc = configNetwork((Console*) pvConsole, cszAdapterName, ulInstance, 0, networkAttachment,1356 rc = configNetwork((Console*) pvConsole, pszAdapterName, ulInstance, 0, networkAttachment, 1357 1357 &meAttachmentType[ulInstance], networkAdapter, pCfg, pLunL0, pInst, false); 1358 1358 RC_CHECK();
Note:
See TracChangeset
for help on using the changeset viewer.