VirtualBox

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


Ignore:
Timestamp:
Oct 4, 2013 8:37:50 AM (11 years ago)
Author:
vboxsync
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/xml
Files:
2 edited

Legend:

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

    r48538 r48879  
    20222022                  && (fNonRotational            == a.fNonRotational)
    20232023                  && (fDiscard                  == a.fDiscard)
     2024                  && (fHotPluggable             == a.fHotPluggable)
    20242025                  && (lPort                     == a.lPort)
    20252026                  && (lDevice                   == a.lDevice)
     
    34893490                    throw ConfigFileError(this, pelmImage, N_("Required AttachedDevice/@device attribute is missing"));
    34903491
     3492                pelmAttached->getAttributeValue("hotpluggable", att.fHotPluggable);
    34913493                pelmAttached->getAttributeValue("bandwidthGroup", att.strBwGroup);
    34923494                sctl.llAttachedDevices.push_back(att);
     
    49184920            pelmDevice->setAttribute("type", pcszType);
    49194921
     4922            if (att.fHotPluggable)
     4923                pelmDevice->setAttribute("hotpluggable", att.fHotPluggable);
     4924
    49204925            pelmDevice->setAttribute("port", att.lPort);
    49214926            pelmDevice->setAttribute("device", att.lDevice);
  • trunk/src/VBox/Main/xml/VirtualBox-settings.xsd

    r44948 r48879  
    626626  <xsd:attribute name="nonrotational" type="xsd:boolean" default="false"/>
    627627  <xsd:attribute name="discard" type="xsd:boolean" default="false"/>
     628  <xsd:attribute name="hotpluggable" type="xsd:boolean" default="false"/>
    628629</xsd:complexType>
    629630
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