188
188
/* check if we are already paused */
189
189
MachineState_T machineState;
190
190
CHECK_ERROR_BREAK(console, COMGETTER(State)(&machineState));
191
193
if (machineState != MachineState_Paused)
193
195
RTMsgError("Machine in invalid state %d -- %s\n",
194
196
machineState, machineStateToName(machineState, false));
200
202
ComPtr<IProgress> progress;