VirtualBox

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


Ignore:
Timestamp:
Jun 26, 2012 9:17:43 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78768
Message:

Main: Implement API to configure autostart/-stop for virtual machines

File:
1 edited

Legend:

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

    r41888 r41914  
    36673667  </enum>
    36683668
     3669  <enum
     3670    name="AutostopType" extends="$unknown"
     3671    uuid="6bb96740-cf34-470d-aab2-2cd48ea2e10e"
     3672    >
     3673
     3674    <desc>
     3675    Autostop types, used with <link to="IMachine::autostopType" />.
     3676    </desc>
     3677
     3678    <const name="Disabled"           value="1">
     3679      <desc>Stopping the VM during system shutdown is disabled.</desc>
     3680    </const>
     3681    <const name="SaveState"          value="2">
     3682      <desc>The state of the VM will be saved when the system shuts down.</desc>
     3683    </const>
     3684    <const name="PowerOff"           value="3">
     3685      <desc>The VM is powered off when the system shuts down.</desc>
     3686    </const>
     3687    <const name="AcpiShutdown"       value="4">
     3688      <desc>An ACPI shutdown event is generated.</desc>
     3689    </const>
     3690
     3691  </enum>
     3692
    36693693
    36703694  <interface
    36713695    name="IMachine" extends="$unknown"
    3672     uuid="e7c78fee-f20d-4b4f-ac28-37af30d79ddf"
     3696    uuid="d6406544-910e-43b2-a8fb-5528e56ce3b4"
    36733697    wsmap="managed"
    36743698    >
     
    43194343        business accessing the VMCPU or VM structures, and are therefore unable
    43204344        to get any pointers to these.
     4345      </desc>
     4346    </attribute>
     4347
     4348    <attribute name="autostartEnabled" type="boolean">
     4349      <desc>
     4350        Enables autostart of the VM during system boot.
     4351      </desc>
     4352    </attribute>
     4353
     4354    <attribute name="autostartDelay" type="unsigned long">
     4355      <desc>
     4356        Number of seconds to wait until the VM should be started during system boot.
     4357      </desc>
     4358    </attribute>
     4359
     4360    <attribute name="autostopType" type="AutostopType">
     4361      <desc>
     4362        Action type to do when the system is shutting down.
    43214363      </desc>
    43224364    </attribute>
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