VirtualBox

Ignore:
Timestamp:
Jan 18, 2010 4:52:21 PM (15 years ago)
Author:
vboxsync
Message:

CPU hotplug: Merge 4th patch. Implements the Main API and a VBoxManage interface to turn CPU hotplug on/off and to add/remove CPUs while the VM is running

File:
1 edited

Legend:

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

    r25672 r25901  
    459459           -->
    460460    </const>
    461     <const name="Future"     value="13">
    462       <desc>Settings version greater than "1.10", written by a future VirtualBox version.</desc>
     461    <const name="v1_11"     value="13">
     462      <desc>Settings version "1.10", written by VirtualBox 3.2.x.</desc>
     463      <!-- CPU hot-plug support
     464           -->
     465    </const>
     466    <const name="Future"     value="14">
     467      <desc>Settings version greater than "1.11", written by a future VirtualBox version.</desc>
    463468    </const>
    464469  </enum>
     
    43564361    </attribute>
    43574362
     4363    <attribute name="CPUHotPlugEnabled" type="boolean">
     4364      <desc>
     4365        This setting determines whether VirtualBox allows CPU
     4366        hotplugging for this machine.</desc>
     4367    </attribute>
     4368
    43584369    <attribute name="memorySize" type="unsigned long">
    43594370      <desc>System memory size in megabytes.</desc>
     
    59325943      </param>
    59335944    </method>
     5945
     5946    <method name="HotPlugCPU">
     5947      <desc>
     5948        Plugs a CPU into the machine.
     5949      </desc>
     5950      <param name="cpu" type="unsigned long" dir="in">
     5951        <desc>
     5952          The CPU id to insert.
     5953        </desc>
     5954      </param>
     5955    </method>
     5956
     5957    <method name="HotUnplugCPU">
     5958      <desc>
     5959        Removes a CPU from the machine.
     5960      </desc>
     5961      <param name="cpu" type="unsigned long" dir="in">
     5962        <desc>
     5963          The CPU id to remove.
     5964        </desc>
     5965      </param>
     5966    </method>
     5967
     5968    <method name="GetCPUStatus">
     5969      <desc>
     5970        Plugs a CPU into the machine.
     5971      </desc>
     5972      <param name="cpu" type="unsigned long" dir="in">
     5973        <desc>
     5974          The CPU id to check for.
     5975        </desc>
     5976      </param>
     5977      <param name="attached" type="boolean" dir="return">
     5978        <desc>
     5979          Status of the CPU.
     5980        </desc>
     5981      </param>
     5982    </method>
    59345983</interface>
    59355984
     
    61166165      <param name="mediumAttachment" type="IMediumAttachment" dir="in">
    61176166        <desc>Medium attachment that is subject to change.</desc>
     6167      </param>
     6168    </method>
     6169
     6170    <method name="onCPUChange">
     6171      <desc>
     6172        Notification when a CPU changes.
     6173      </desc>
     6174      <param name="cpu" type="unsigned long" dir="in">
     6175        <desc>The CPU which changed</desc>
     6176      </param>
     6177      <param name="add" type="boolean" dir="in">
     6178        <desc>Flag whether the CPU was added or removed</desc>
    61186179      </param>
    61196180    </method>
     
    1270612767      <param name="mediumAttachment" type="IMediumAttachment" dir="in"/>
    1270712768      <param name="force" type="boolean" dir="in"/>
     12769    </method>
     12770
     12771    <method name="onCPUChange">
     12772      <desc>
     12773        Notification when a CPU changes.
     12774      </desc>
     12775      <param name="cpu" type="unsigned long" dir="in">
     12776        <desc>The CPU which changed</desc>
     12777      </param>
     12778      <param name="add" type="boolean" dir="in">
     12779        <desc>Flag whether the CPU was added or removed</desc>
     12780      </param>
    1270812781    </method>
    1270912782
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