Changeset 28764 in vbox for trunk/src/VBox/Main/ConsoleImpl2.cpp
- Timestamp:
- Apr 26, 2010 4:12:49 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60646
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r28727 r28764 1073 1073 rc = ctrls[i]->COMGETTER(Instance)(&ulInstance); H(); 1074 1074 1075 IoBackendType_T enmIoBackend; 1076 rc = ctrls[i]->COMGETTER(IoBackend)(&enmIoBackend); H(); 1077 1075 1078 /* /Devices/<ctrldev>/ */ 1076 1079 const char *pszCtrlDev = pConsole->convertControllerTypeToDev(enmCtrlType); … … 1261 1264 { 1262 1265 rc = Console::configMediumAttachment(pCtlInst, pszCtrlDev, 1263 ulInstance, enmBus, atts[j], 1266 ulInstance, enmBus, enmIoBackend, 1267 atts[j], 1264 1268 pConsole->mMachineState, 1265 1269 NULL /* phrc */, … … 2270 2274 int Console::configMediumAttachment(PCFGMNODE pCtlInst, const char *pcszDevice, 2271 2275 unsigned uInstance, StorageBus_T enmBus, 2276 IoBackendType_T enmIoBackend, 2272 2277 IMediumAttachment *pMediumAtt, 2273 2278 MachineState_T aMachineState, … … 2352 2357 hrc = pMediumAtt->COMGETTER(Passthrough)(&fPassthrough); H(); 2353 2358 rc = Console::configMedium(pLunL0, !!fPassthrough, lType, 2359 enmIoBackend, 2354 2360 pMedium, aMachineState, phrc); RC_CHECK(); 2355 2361 … … 2378 2384 bool fPassthrough, 2379 2385 DeviceType_T enmType, 2386 IoBackendType_T enmIoBackend, 2380 2387 IMedium *pMedium, 2381 2388 MachineState_T aMachineState, … … 2475 2482 { 2476 2483 rc = CFGMR3InsertInteger(pCfg, "TempReadOnly", 1); RC_CHECK(); 2484 } 2485 2486 if (enmIoBackend == IoBackendType_Unbuffered) 2487 { 2488 rc = CFGMR3InsertInteger(pCfg, "UseNewIo", 1); RC_CHECK(); 2477 2489 } 2478 2490
Note:
See TracChangeset
for help on using the changeset viewer.