VirtualBox

Changeset 20185 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jun 2, 2009 12:04:10 PM (16 years ago)
Author:
vboxsync
Message:

PDMAsyncCompletion:

  • Export missing file to OSE
  • Enable PDM async completion for OSE
  • Remove leftovers of DrvTransportAsync in Main
Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

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

    r20134 r20185  
    67876787    rc = CFGMR3InsertString(pCfg, "Format", Utf8Str(bstr));                     RC_CHECK();
    67886788
    6789 #if defined(VBOX_WITH_PDM_ASYNC_COMPLETION)
    6790     if (bstr == L"VMDK")
    6791     {
    6792         /* Create cfgm nodes for async transport driver because VMDK is
    6793          * currently the only one which may support async I/O. This has
    6794          * to be made generic based on the capabiliy flags when the new
    6795          * 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 #endif
    6806 
    68076789    /* Pass all custom parameters. */
    68086790    bool fHostIP = true;
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r19624 r20185  
    11001100            rc = CFGMR3InsertString (pCfg, "Format", Utf8Str (bstr));           RC_CHECK();
    11011101
    1102 #if defined(VBOX_WITH_PDM_ASYNC_COMPLETION)
    1103             if (bstr == L"VMDK")
    1104             {
    1105                 /* Create cfgm nodes for async transport driver because VMDK is
    1106                     * currently the only one which may support async I/O. This has
    1107                     * to be made generic based on the capabiliy flags when the new
    1108                     * 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 #endif
    11151102            /* Pass all custom parameters. */
    11161103            bool fHostIP = true;
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