Lines Matching defs:machineState
461 MachineState_T machineState;
462 pSCEv->COMGETTER(State)(&machineState);
463 LogFlow(("OnStateChange: machineState = %d (%s)\n", machineState, GetStateName(machineState)));
466 if ( machineState == MachineState_Aborted
467 || machineState == MachineState_Teleported
468 || (machineState == MachineState_Saved && !m_fIgnorePowerOffEvents)
469 || (machineState == MachineState_PoweredOff && !m_fIgnorePowerOffEvents)
477 event.user.code = machineState == MachineState_Aborted
501 MachineState_T machineState;
502 gpMachine->COMGETTER(State)(&machineState);
504 bool fPaused = machineState == MachineState_Paused;
507 else if (machineState == MachineState_Paused)
561 static const char *GetStateName(MachineState_T machineState)
563 switch (machineState)
1494 MachineState_T machineState = MachineState_Null;
1495 pMachine->COMGETTER(State)(&machineState);
1496 if ( machineState == MachineState_Running
1497 || machineState == MachineState_Teleporting
1498 || machineState == MachineState_LiveSnapshotting
1499 || machineState == MachineState_Paused
1500 || machineState == MachineState_TeleportingPausedVM
1836 MachineState_T machineState;
1837 gpMachine->COMGETTER(State)(&machineState);
1838 if (machineState == MachineState_Saved)
2245 MachineState_T machineState;
2248 rc = gpMachine->COMGETTER(State)(&machineState);
2250 && ( machineState == MachineState_Starting
2251 || machineState == MachineState_Restoring
2252 || machineState == MachineState_TeleportingIn
2346 && ( machineState == MachineState_Starting
2347 || machineState == MachineState_Restoring
2348 || machineState == MachineState_TeleportingIn
2361 if (machineState != MachineState_Running)
2367 RTPrintf("Error: failed to power up VM! No error text available (rc = 0x%x state = %d)\n", rc, machineState);
2922 gpMachine->COMGETTER(State)(&machineState);
2924 machineState = MachineState_Aborted;
2932 && ( machineState == MachineState_Running
2933 || machineState == MachineState_Teleporting
2934 || machineState == MachineState_LiveSnapshotting
2977 && machineState != MachineState_Saved)
2980 AssertMsg(SUCCEEDED(rc), ("DiscardSettings %Rhrc, machineState %d\n", rc, machineState));
4350 MachineState_T machineState;
4351 gpMachine->COMGETTER(State)(&machineState);
4352 if (machineState == MachineState_Paused)
4399 MachineState_T machineState;
4400 gpMachine->COMGETTER(State)(&machineState);
4401 if (machineState == MachineState_Starting)
4404 else if (machineState == MachineState_Restoring)
4415 else if (machineState == MachineState_TeleportingIn)
4846 MachineState_T machineState;
4847 gpMachine->COMGETTER(State)(&machineState);
4848 bool fPauseIt = machineState == MachineState_Running
4849 || machineState == MachineState_Teleporting
4850 || machineState == MachineState_LiveSnapshotting;
4873 MachineState_T machineState;
4874 gpMachine->COMGETTER(State)(&machineState);
4875 if ( machineState == MachineState_Running
4876 || machineState == MachineState_Teleporting
4877 || machineState == MachineState_LiveSnapshotting
4884 else if (machineState == MachineState_Paused)