- Timestamp:
- Nov 28, 2008 11:04:41 AM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r14715 r14770 4274 4274 4275 4275 if (mMachineState >= MachineState_Running) 4276 return setError( E_FAIL, tr ("Virtual machine is already running "4277 "(machine state: %d)"),4278 4276 return setError(VBOX_E_INVALID_VM_STATE, 4277 tr ("Virtual machine is already running " 4278 "(machine state: %d)"), mMachineState); 4279 4279 4280 4280 HRESULT rc = S_OK; … … 4302 4302 if (!hostif) 4303 4303 { 4304 return setError ( E_FAIL,4304 return setError (VBOX_E_HOST_ERROR, 4305 4305 tr ("VM cannot start because host interface networking " 4306 4306 "requires a host interface name to be set")); … … 4315 4315 if (!SUCCEEDED(coll->FindByName(hostif, hostInterface.asOutParam()))) 4316 4316 { 4317 return setError ( E_FAIL,4317 return setError (VBOX_E_HOST_ERROR, 4318 4318 tr ("VM cannot start because the host interface '%ls' " 4319 4319 "does not exist"), … … 4363 4363 int vrc = SSMR3ValidateFile (Utf8Str (savedStateFile)); 4364 4364 if (VBOX_FAILURE (vrc)) 4365 return setError ( E_FAIL,4365 return setError (VBOX_E_FILE_ERROR, 4366 4366 tr ("VM cannot start because the saved state file '%ls' is invalid (%Rrc). " 4367 4367 "Discard the saved state prior to starting the VM"), … … 7456 7456 NULL 7457 7457 }; 7458 7458 /* vi: set tabstop=4 shiftwidth=4 expandtab: */ -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r14769 r14770 310 310 </result> 311 311 312 <result name="VBOX_E_HOST_ERROR" value="0x80BB0008"> 313 <desc> 314 Host operating system related error. 315 </desc> 316 </result> 317 312 318 <!-- 313 319 Note that src/VBox/Runtime/common/err/errmsgvboxcom.xsl will ignore … … 4562 4568 4563 4569 <see>#saveState</see> 4570 <result name="VBOX_E_INVALID_VM_STATE"> 4571 Virtual machine already running. 4572 </result> 4573 <result name="VBOX_E_HOST_ERROR"> 4574 Host interface does not exist or name not set. 4575 </result> 4576 <result name="VBOX_E_FILE_ERROR"> 4577 Invalid saved state file. 4578 </result> 4564 4579 </desc> 4565 4580 <param name="progress" type="IProgress" dir="return">
Note:
See TracChangeset
for help on using the changeset viewer.