VirtualBox

Changeset 106384 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Oct 16, 2024 1:58:41 PM (7 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165197
Message:

Main: Code for configuring and enabling nested virtualization support on ARM (M3 based hardware + macOS 15.0 aka Sequioa), bugref:10747

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r106218 r106384  
    12211221        setting may slow down workloads causing many VM exits, so it is only
    12221222        recommended for situation where there is a real need to be paranoid.
     1223      </desc>
     1224    </const>
     1225  </enum>
     1226
     1227  <enum
     1228    name="CPUPropertyTypeARM"
     1229    uuid="c84685f6-6bd3-4071-97c6-86f34595648f"
     1230    >
     1231    <desc>
     1232      Virtual CPU property type for ARM-based CPUs. This enumeration represents possible values of the
     1233      IPlatformARM get- and setCPUProperty methods.
     1234    </desc>
     1235    <const name="Null"                  value="0">
     1236      <desc>Null value (never used by the API).</desc>
     1237    </const>
     1238    <const name="HWVirt"                value="1">
     1239      <desc>
     1240        Enables the hardware virtualization feature on the guest CPU.
     1241        This requires the nested virtualization feature on the host CPU.
    12231242      </desc>
    12241243    </const>
     
    73927411  <interface
    73937412    name="IPlatformARM" extends="$unknown"
    7394     uuid="75dff9be-6cb3-4857-bde6-2faf82ed9a8d"
     7413    uuid="002c75fe-3316-4920-aece-7d21ce6f624b"
    73957414    wsmap="managed"
    73967415    rest="managed"
     
    74037422    </desc>
    74047423
    7405     <!-- Currently empty, but that should change before long... -->
    7406     <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
     7424    <method name="getCPUProperty" const="yes">
     7425      <rest request="get" path="/vms/{vmid}/configuration/"/>
     7426      <desc>
     7427        Returns the virtual CPU boolean value of the specified property.
     7428
     7429        <result name="E_INVALIDARG">
     7430          Invalid property.
     7431        </result>
     7432
     7433      </desc>
     7434      <param name="property" type="CPUPropertyTypeARM" dir="in">
     7435        <desc>
     7436          Property type to query.
     7437        </desc>
     7438      </param>
     7439      <param name="value" type="boolean" dir="return">
     7440        <desc>
     7441          Property value.
     7442        </desc>
     7443      </param>
     7444    </method>
     7445
     7446    <method name="setCPUProperty">
     7447      <rest request="post" path="/vms/{vmid}/configuration/"/>
     7448      <desc>
     7449        Sets the virtual CPU boolean value of the specified property.
     7450
     7451        <result name="E_INVALIDARG">
     7452          Invalid property.
     7453        </result>
     7454
     7455      </desc>
     7456      <param name="property" type="CPUPropertyTypeARM" dir="in">
     7457        <desc>
     7458          Property type to query.
     7459        </desc>
     7460      </param>
     7461      <param name="value" type="boolean" dir="in">
     7462        <desc>
     7463          Property value.
     7464        </desc>
     7465      </param>
     7466    </method>
    74077467
    74087468  </interface>
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