VirtualBox

Ignore:
Timestamp:
Jul 7, 2011 3:29:03 PM (14 years ago)
Author:
vboxsync
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/include/MediumAttachmentImpl.h

    r37709 r37824  
    5050                 bool fPassthrough,
    5151                 bool fTempEject,
     52                 bool fNonRotational,
    5253                 const Utf8Str &strBandwidthGroup);
    5354    void uninit();
     
    6566    STDMETHOD(COMGETTER(TemporaryEject))(BOOL *aTemporaryEject);
    6667    STDMETHOD(COMGETTER(IsEjected))(BOOL *aIsEjected);
     68    STDMETHOD(COMGETTER(NonRotational))(BOOL *aNonRotational);
    6769    STDMETHOD(COMGETTER(BandwidthGroup))(IBandwidthGroup **aBwGroup);
    6870
     
    8385    bool getPassthrough() const;
    8486    bool getTempEject() const;
     87    bool getNonRotational() const;
    8588    const Utf8Str& getBandwidthGroup() const;
    8689
     
    9598    /** Must be called from under this object's write lock. */
    9699    void updateTempEject(bool aTempEject);
     100
     101    /** Must be called from under this object's write lock. */
     102    void updateNonRotational(bool aNonRotational);
    97103
    98104    /** Must be called from under this object's write lock. */
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