Virtual Machine State Diagram

Virtual Server

The following diagram illustrates the operational states and state transitions of a virtual machine session.

Operational states and state transitions of a virtual machine session

Virtual Server will generate one or more state changed events through the IVMVirtualServerEvents::OnVMStateChange and IVMVirtualMachineEvents::OnStateChange methods every time a virtual machine session changes states. State changes of a virtual machine session are controlled by invoking methods of the IVMVirtualMachine interface.

The following table lists the state changed events generated by Virtual Server for virtual machine sessions.

IVMVirtualMachine methodState change events generated
StartUp (no previous state saved)

vmVMState_TurningOn

vmVMState_Running

Save

vmVMState_Saving

vmVMState_TurningOff

vmVMState_DeleteMachine

vmVMState_TurnedOff

Startup (restoring from a saved state)

vmVMState_TurningOn

vmVMState_Restoring

vmVMState_Running

Reset

vmVMState_TurningOff

vmVMState_DeleteMachine

vmVMState_TurningOn

vmVMState_Running

Pause

vmVMState_Paused

Resume

vmVMState_Running

TurnOff

vmVMState_TurningOff

vmVMState_DeleteMachine

vmVMState_TurnedOff

 

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Community Additions

ADD
Show: