Changeset 29002 in vbox
- Timestamp:
- May 4, 2010 11:14:34 AM (15 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp
r29001 r29002 687 687 hdCtr = m_Machine.GetStorageControllerByName(ctrHdName); 688 688 hdCtr.SetControllerType(hdStorageControllerType); 689 690 /* Disable the I/O cache if this is not a IDE controller */691 if (ctrHdBus != KStorageBus_IDE)692 hdCtr.SetIoBackend(KIoBackendType_Unbuffered);693 689 } 694 690 else -
trunk/src/VBox/Main/StorageControllerImpl.cpp
r28800 r29002 144 144 m->bd->mInstance = aInstance; 145 145 m->bd->mStorageBus = aStorageBus; 146 m->bd->mIoBackendType = IoBackendType_Buffered; 146 if (aStorageBus != StorageBus_IDE) 147 m->bd->mIoBackendType = IoBackendType_Unbuffered; 148 else 149 m->bd->mIoBackendType = IoBackendType_Buffered; 147 150 148 151 switch (aStorageBus)
Note:
See TracChangeset
for help on using the changeset viewer.