VirtualBox

Changeset 29668 in vbox


Ignore:
Timestamp:
May 19, 2010 5:42:04 PM (15 years ago)
Author:
vboxsync
Message:

FE/VirtualBox: Use the correct I/O cache setting for the storage controllers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsHD.cpp

    r29480 r29668  
    406406    , mCtrName (aName)
    407407    , mCtrType (0)
    408     , mUseIoCache (true)
    409408{
    410409    /* Check for proper parent type */
     
    416415        case KStorageBus_IDE:
    417416            mCtrType = new IDEControllerType (aControllerType);
     417            mUseIoCache = true;
    418418            break;
    419419        case KStorageBus_SATA:
    420420            mCtrType = new SATAControllerType (aControllerType);
     421            mUseIoCache = false;
    421422            break;
    422423        case KStorageBus_SCSI:
    423424            mCtrType = new SCSIControllerType (aControllerType);
     425            mUseIoCache = false;
    424426            break;
    425427        case KStorageBus_Floppy:
    426428            mCtrType = new FloppyControllerType (aControllerType);
     429            mUseIoCache = true;
    427430            break;
    428431        case KStorageBus_SAS:
    429432            mCtrType = new SASControllerType (aControllerType);
     433            mUseIoCache = false;
    430434            break;
    431435        default:
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