VirtualBox

Ignore:
Timestamp:
May 13, 2010 10:11:37 AM (15 years ago)
Author:
vboxsync
Message:

Main: Add code for debugging I/O problems, disabled by default of course

File:
1 edited

Legend:

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

    r29346 r29444  
    24652465            /* Index of last image */
    24662466            uImage--;
     2467
     2468#if 0 /* Enable for I/O debugging */
     2469            rc = CFGMR3InsertNode(pLunL0, "AttachedDriver", &pLunL0);                   RC_CHECK();
     2470            rc = CFGMR3InsertString(pLunL0, "Driver", "DiskIntegrity");                 RC_CHECK();
     2471            rc = CFGMR3InsertNode(pLunL0, "Config", &pCfg);                             RC_CHECK();
     2472            rc = CFGMR3InsertInteger(pCfg, "CheckConsistency", 0);                      RC_CHECK();
     2473            rc = CFGMR3InsertInteger(pCfg, "CheckDoubleCompletions", 1);                RC_CHECK();
     2474#endif
    24672475
    24682476            rc = CFGMR3InsertNode(pLunL0, "AttachedDriver", &pLunL1);                   RC_CHECK();
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