Changeset 69 in vbox
- Timestamp:
- Jan 16, 2007 4:09:20 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 17510
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r1 r69 42 42 #include "GuestOSTypeImpl.h" 43 43 #include "VirtualBoxErrorInfoImpl.h" 44 45 #include "USBProxyService.h" 44 46 45 47 #include "Logging.h" … … 1116 1118 1117 1119 AutoReaderLock alock (this); 1120 1121 USBProxyService *usbProxyService = mParent->host()->usbProxyService(); 1122 AssertReturn (usbProxyService, E_FAIL); 1123 if (!usbProxyService->isActive()) 1124 { 1125 /* disable the USB controller completely to avoid assertions if the 1126 * USB proxy service could not start. */ 1127 1128 Assert (VBOX_FAILURE (usbProxyService->getLastError())); 1129 if (usbProxyService->getLastError() == VERR_FILE_NOT_FOUND) 1130 return setError (E_FAIL, 1131 tr ("Could not load the USB proxy service (%Vrc), " 1132 "the virtual USB Controller is not available." 1133 "The service may not be installed on the host computer."), 1134 usbProxyService->getLastError()); 1135 else 1136 return setError (E_FAIL, 1137 tr ("Could not load the USB proxy service (%Vrc), " 1138 "the virtual USB Controller is not available."), 1139 usbProxyService->getLastError()); 1140 } 1118 1141 1119 1142 mUSBController.queryInterfaceTo (a_ppUSBController);
Note:
See TracChangeset
for help on using the changeset viewer.