VirtualBox

Ignore:
Timestamp:
Nov 3, 2009 10:07:55 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54298
Message:

Main,Frontends: Added two new running states: Teleporting and LiveSnapshotting. Also added TeleportingPausedVM. Renamed TeleportingFrom to TeleportingIn.

File:
1 edited

Legend:

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

    r24297 r24301  
    473473  <enum
    474474    name="MachineState"
    475     uuid="0f4cc50c-e1cc-4cde-ae7a-e6164bac5ba2"
     475    uuid="36518cf6-cdf0-4d0d-ad2a-5ee9c60c7494"
    476476  >
    477477    <desc>
     
    616616      </desc>
    617617    </const>
    618     <const name="Aborted"               value="3">
     618    <const name="Teleported"            value="3">
     619      <desc>
     620        The machine was teleported to a different host (or process) and then
     621        powered off.  Take care when powering it on again may corrupt resources
     622        it shares with the teleportation target (e.g. disk and network).
     623      </desc>
     624    </const>
     625    <const name="Aborted"               value="4">
    619626      <desc>
    620627        The process running the machine has terminated abnormally. This may
     
    623630      </desc>
    624631    </const>
    625     <const name="Running"               value="4">
     632    <const name="Running"               value="5">
    626633      <desc>
    627634        The machine is currently being executed.
     
    630637          comparisons in the old source code valid, this state must immediately
    631638          precede the Paused state.
     639          TODO: Lift this spectacularly wonderful restriction.
    632640        </note>
    633641      </desc>
    634642    </const>
    635     <const name="Paused"                value="5">
     643    <const name="Paused"                value="6">
    636644      <desc>
    637645        Execution of the machine has been paused.
     
    640648          comparisons in the old source code valid, this state must immediately
    641649          follow the Running state.
     650          TODO: Lift this spectacularly wonderful restriction.
    642651        </note>
    643652      </desc>
    644653    </const>
    645     <const name="Stuck"                 value="6">
     654    <const name="Stuck"                 value="7">
    646655      <desc>
    647656        Execution of the machine has reached the "Guru Meditation"
    648657        condition. This indicates a severe error in the hypervisor itself.
    649       </desc>
    650     </const>
    651     <const name="Starting"              value="7">
     658        <note internal="yes">
     659          bird: Why this uncool name? Could we rename it to "GuruMeditation" or
     660                "Guru", perhaps? Or are there some other VMM states that are
     661                intended to be lumped in here as well?
     662        </note>
     663      </desc>
     664    </const>
     665    <const name="Teleporting"           value="8">
     666      <desc>
     667        The machine is about to be teleported to a different host or process.
     668        It is possible to pause a machine in this state, but it will go to the
     669        <link to="MachineState::PausedTeleporting"/> state and it will not be
     670        possible to resume it again unless the teleportation fails.
     671      </desc>
     672    </const>
     673    <const name="LiveSnapshotting"      value="9">
     674      <desc>
     675        A live snapshot is being taken.  The machine is running normally, but
     676        some of the runtime configuration options are inaccessible.  Also, if
     677        paused while in this state it will transition to
     678        <link to="MachineState::Saving"/> and it will not be resume the
     679        execution until the snapshot operation has completed.
     680      </desc>
     681    </const>
     682    <const name="Starting"              value="10">
    652683      <desc>
    653684        Machine is being started after powering it on from a
     
    655686      </desc>
    656687    </const>
    657     <const name="Stopping"              value="8">
     688    <const name="Stopping"              value="11">
    658689      <desc>
    659690        Machine is being normally stopped powering it off, or after the guest OS
     
    661692      </desc>
    662693    </const>
    663     <const name="Saving"                value="9">
     694    <const name="Saving"                value="12">
    664695      <desc>
    665696        Machine is saving its execution state to a file, or an online
     
    667698      </desc>
    668699    </const>
    669     <const name="Restoring"             value="10">
     700    <const name="Restoring"             value="13">
    670701      <desc>
    671702        Execution state of the machine is being restored from a file
     
    673704      </desc>
    674705    </const>
    675     <const name="TeleportingFrom"       value="11">
    676       <desc>
    677         Teleporting the machine state from another host or process.
    678       </desc>
    679     </const>
    680     <const name="RestoringSnapshot"     value="12">
     706    <const name="TeleportingPausedVM"   value="14">
     707      <desc>
     708        The machine is being teleported to another host or process, but it is
     709        not running.  This is the paused variant of the
     710        <link to="MachineState::Teleporting"/> state.
     711      </desc>
     712    </const>
     713    <const name="TeleportingIn"         value="15">
     714      <desc>
     715        Teleporting the machine state in from another host or process.
     716      </desc>
     717    </const>
     718    <const name="RestoringSnapshot"     value="16">
    681719      <desc>
    682720        A machine snapshot is being restored; this typically does not take long.
    683721      </desc>
    684722    </const>
    685     <const name="DeletingSnapshot"      value="13">
     723    <const name="DeletingSnapshot"      value="17">
    686724      <desc>
    687725        A machine snapshot is being deleted; this can take a long time since this
     
    689727      </desc>
    690728    </const>
    691     <const name="SettingUp"             value="14">
     729    <const name="SettingUp"             value="18">
    692730      <desc>
    693731        Lengthy setup operation is in progress.
     
    695733    </const>
    696734
    697     <const name="FirstOnline" value="4" wsmap="suppress"> <!-- Running -->
     735    <const name="FirstOnline" value="5" wsmap="suppress"> <!-- Running -->
    698736      <desc>
    699737        Pseudo-state: first online state (for use in relational expressions).
    700738      </desc>
    701739    </const>
    702     <const name="LastOnline"  value="11" wsmap="suppress"> <!-- Restoring -->
     740    <const name="LastOnline"  value="13" wsmap="suppress"> <!-- TeleportingIn -->
    703741      <desc>
    704742        Pseudo-state: last online state (for use in relational expressions).
     
    706744    </const>
    707745
    708     <const name="FirstTransient" value="7" wsmap="suppress"> <!-- Starting -->
     746    <const name="FirstTransient" value="8" wsmap="suppress"> <!-- Teleporting -->
    709747      <desc>
    710748        Pseudo-state: first transient state (for use in relational expressions).
    711749      </desc>
    712750    </const>
    713     <const name="LastTransient"  value="14" wsmap="suppress"> <!-- SettingUp -->
     751    <const name="LastTransient"  value="18" wsmap="suppress"> <!-- SettingUp -->
    714752      <desc>
    715753        Pseudo-state: last transient state (for use in relational expressions).
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