VirtualBox

忽略:
時間撮記:
2011-7-7 下午03:29:03 (13 年 以前)
作者:
vboxsync
訊息:

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

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • 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. */
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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