VirtualBox

Changeset 48879 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Oct 4, 2013 8:37:50 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89551
Message:

Main/MediumAttachment+Machine: stub attribute/method for an explicit hot-pluggable medium attachment flag, to be used by AHCI soon

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/MachineImpl.h

    r48538 r48879  
    543543    STDMETHOD(NonRotationalDevice)(IN_BSTR aControllerName, LONG aControllerPort, LONG aDevice, BOOL aNonRotational);
    544544    STDMETHOD(SetAutoDiscardForDevice)(IN_BSTR aControllerName, LONG aControllerPort, LONG aDevice, BOOL aDiscard);
     545    STDMETHOD(SetHotPluggableForDevice)(IN_BSTR aControllerName, LONG aControllerPort, LONG aDevice, BOOL aHotPluggable);
    545546    STDMETHOD(SetNoBandwidthGroupForDevice)(IN_BSTR aControllerName, LONG aControllerPort,
    546547                                            LONG aDevice);
  • trunk/src/VBox/Main/include/MediumAttachmentImpl.h

    r38873 r48879  
    55
    66/*
    7  * Copyright (C) 2006-2011 Oracle Corporation
     7 * Copyright (C) 2006-2013 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    5252                 bool fNonRotational,
    5353                 bool fDiscard,
     54                 bool fHotPluggable,
    5455                 const Utf8Str &strBandwidthGroup);
    5556    HRESULT initCopy(Machine *aParent, MediumAttachment *aThat);
     
    7172    STDMETHOD(COMGETTER(Discard))(BOOL *aDiscard);
    7273    STDMETHOD(COMGETTER(BandwidthGroup))(IBandwidthGroup **aBwGroup);
     74    STDMETHOD(COMGETTER(HotPluggable))(BOOL *aHotPluggable);
    7375
    7476    // public internal methods
     
    9193    bool getDiscard() const;
    9294    const Utf8Str& getBandwidthGroup() const;
     95    bool getHotPluggable() const;
    9396
    9497    bool matches(CBSTR aControllerName, LONG aPort, LONG aDevice);
     
    117120    void updateParentMachine(Machine * const pMachine);
    118121
     122    /** Must be called from under this object's write lock. */
     123    void updateHotPluggable(bool aHotPluggable);
     124
    119125    /** Get a unique and somewhat descriptive name for logging. */
    120126    const char* getLogName(void) const { return mLogName.c_str(); }
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