~ubuntu-branches/ubuntu/quantal/virtualbox/quantal

« back to all changes in this revision

Viewing changes to src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2012-04-05 12:41:55 UTC
  • mfrom: (3.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120405124155-i7b39tv5ddwhubbe
Tags: 4.1.12-dfsg-2
* Upstream has replaced the 4.1.12 tarball with a new one that fixes a
  crash when creating host only interfaces. (Closes: #667460)
  - Add 36-tarball-respin.patch which contains the diff between the old
    and the new tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
                    /* check if we are already paused */
189
189
                    MachineState_T machineState;
190
190
                    CHECK_ERROR_BREAK(console, COMGETTER(State)(&machineState));
 
191
                    /* the error code was lost by the previous instruction */
 
192
                    rc = VBOX_E_INVALID_VM_STATE;
191
193
                    if (machineState != MachineState_Paused)
192
194
                    {
193
195
                        RTMsgError("Machine in invalid state %d -- %s\n",
194
196
                                   machineState, machineStateToName(machineState, false));
195
 
                        break;
196
197
                    }
197
198
                }
 
199
                break;
198
200
            }
199
201
 
200
202
            ComPtr<IProgress> progress;