VirtualBox

Changeset 37824 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Jul 7, 2011 3:29:03 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72711
Message:

Main/Machine+MediumAttachment+Console: add method for marking a 'hard disk' as non-rotational, which optimizes performance in modern guest OSes
Frontends/VBoxManage+VirtualBox: support the new method
ChangeLog: add quite a few forgotten improvements and fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r37709 r37824  
    16921692                  && (fPassThrough              == a.fPassThrough)
    16931693                  && (fTempEject                == a.fTempEject)
     1694                  && (fNonRotational            == a.fNonRotational)
    16941695                  && (lPort                     == a.lPort)
    16951696                  && (lDevice                   == a.lDevice)
     
    29842985
    29852986            if (strTemp == "HardDisk")
     2987            {
    29862988                att.deviceType = DeviceType_HardDisk;
     2989                pelmAttached->getAttributeValue("nonrotational", att.fNonRotational);
     2990            }
    29872991            else if (m->sv >= SettingsVersion_v1_9)
    29882992            {
     
    42294233                case DeviceType_HardDisk:
    42304234                    pcszType = "HardDisk";
     4235                    if (att.fNonRotational)
     4236                        pelmDevice->setAttribute("nonrotational", att.fNonRotational);
    42314237                break;
    42324238
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette