Changeset 20185 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 2, 2009 12:04:10 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r20134 r20185 6787 6787 rc = CFGMR3InsertString(pCfg, "Format", Utf8Str(bstr)); RC_CHECK(); 6788 6788 6789 #if defined(VBOX_WITH_PDM_ASYNC_COMPLETION)6790 if (bstr == L"VMDK")6791 {6792 /* Create cfgm nodes for async transport driver because VMDK is6793 * currently the only one which may support async I/O. This has6794 * to be made generic based on the capabiliy flags when the new6795 * HardDisk interface is merged.6796 */6797 pLunL2 = CFGMR3GetChild(pLunL1, "AttachedDriver");6798 AssertReturn(pLunL2, VERR_INTERNAL_ERROR);6799 6800 CFGMR3RemoveNode(pLunL2);6801 rc = CFGMR3InsertNode (pLunL1, "AttachedDriver", &pLunL2); RC_CHECK();6802 rc = CFGMR3InsertString (pLunL2, "Driver", "TransportAsync"); RC_CHECK();6803 /* The async transport driver has no config options yet. */6804 }6805 #endif6806 6807 6789 /* Pass all custom parameters. */ 6808 6790 bool fHostIP = true; -
trunk/src/VBox/Main/ConsoleImpl2.cpp
r19624 r20185 1100 1100 rc = CFGMR3InsertString (pCfg, "Format", Utf8Str (bstr)); RC_CHECK(); 1101 1101 1102 #if defined(VBOX_WITH_PDM_ASYNC_COMPLETION)1103 if (bstr == L"VMDK")1104 {1105 /* Create cfgm nodes for async transport driver because VMDK is1106 * currently the only one which may support async I/O. This has1107 * to be made generic based on the capabiliy flags when the new1108 * HardDisk interface is merged.1109 */1110 rc = CFGMR3InsertNode (pLunL1, "AttachedDriver", &pLunL2); RC_CHECK();1111 rc = CFGMR3InsertString (pLunL2, "Driver", "TransportAsync"); RC_CHECK();1112 /* The async transport driver has no config options yet. */1113 }1114 #endif1115 1102 /* Pass all custom parameters. */ 1116 1103 bool fHostIP = true;
Note:
See TracChangeset
for help on using the changeset viewer.