Changeset 833 in vbox for trunk/src/VBox/Main/ConsoleImpl.cpp
- Timestamp:
- Feb 12, 2007 11:51:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r782 r833 1841 1841 // stricter check (mMachineState != MachineState_Running). 1842 1842 if (mMachineState < MachineState_Running) 1843 return setError (E_FAIL, tr ("Cannot attach a USB device to a machine which is not running. (Machine state: %d)"), mMachineState); 1843 return setError (E_FAIL, 1844 tr ("Cannot attach a USB device to a machine which is not running " 1845 "(machine state: %d)"), mMachineState); 1844 1846 1845 1847 /* protect mpVM */ … … 1851 1853 int vrc = PDMR3QueryLun (mpVM, "usb-ohci", 0, 0, &pBase); 1852 1854 if (VBOX_FAILURE (vrc)) 1853 return setError (E_FAIL, tr ("The virtual machine does not have a USB controller.")); 1855 return setError (E_FAIL, 1856 tr ("The virtual machine does not have a USB controller")); 1854 1857 1855 1858 PVUSBIRHCONFIG pRhConfig = (PVUSBIRHCONFIG) pBase->
Note:
See TracChangeset
for help on using the changeset viewer.