Changeset 51614 in vbox for trunk/src/VBox
- Timestamp:
- Jun 12, 2014 5:00:55 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94353
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r51612 r51614 3235 3235 ComObjPtr<IProgress> iProgress; 3236 3236 MachineState_T machineState = MachineState_Null; 3237 HRESULT rc = mControl->DeleteSnapshot((IConsole *)this, BSTR(aId.toString().c_str()), BSTR(aId.toString().c_str()), 3238 FALSE /* fDeleteAllChildren */, &machineState, iProgress.asOutParam()); 3237 HRESULT rc = mControl->DeleteSnapshot((IConsole *)this, BSTR(aId.toString().c_str()), BSTR(aId.toString().c_str()), FALSE /* fDeleteAllChildren */, &machineState, iProgress.asOutParam()); 3239 3238 if (FAILED(rc)) return rc; 3240 3239 iProgress.queryInterfaceTo(aProgress.asOutParam()); … … 3256 3255 ComObjPtr<IProgress> iProgress; 3257 3256 MachineState_T machineState = MachineState_Null; 3258 HRESULT rc = mControl->DeleteSnapshot((IConsole *)this, BSTR(aId.toString().c_str()), BSTR(aId.toString().c_str()), 3259 TRUE /* fDeleteAllChildren */, &machineState, iProgress.asOutParam()); 3257 HRESULT rc = mControl->DeleteSnapshot((IConsole *)this, BSTR(aId.toString().c_str()), BSTR(aId.toString().c_str()), TRUE /* fDeleteAllChildren */, &machineState, iProgress.asOutParam()); 3260 3258 if (FAILED(rc)) return rc; 3261 3259 iProgress.queryInterfaceTo(aProgress.asOutParam()); … … 8464 8462 * @todo Move this back into the driver! 8465 8463 */ 8466 HRESULT Console:: attachToTapInterface(INetworkAdapter *networkAdapter)8464 HRESULT Console::i_attachToTapInterface(INetworkAdapter *networkAdapter) 8467 8465 { 8468 8466 LogFlowThisFunc(("\n")); … … 8529 8527 if (fcntl(RTFileToNative(maTapFD[slot]), F_SETFL, O_NONBLOCK) != -1) 8530 8528 { 8531 Log((" attachToTapInterface: %RTfile %ls\n", maTapFD[slot], tapDeviceName.raw()));8529 Log(("i_attachToTapInterface: %RTfile %ls\n", maTapFD[slot], tapDeviceName.raw())); 8532 8530 /* 8533 8531 * Here is the right place to communicate the TAP file descriptor and … … 8634 8632 * @todo Move this back into the driver! 8635 8633 */ 8636 HRESULT Console:: detachFromTapInterface(INetworkAdapter *networkAdapter)8634 HRESULT Console::i_detachFromTapInterface(INetworkAdapter *networkAdapter) 8637 8635 { 8638 8636 /* sanity check */ … … 8730 8728 { 8731 8729 #if ((defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)) && !defined(VBOX_WITH_NETFLT)) 8732 HRESULT rc2 = detachFromTapInterface(pNetworkAdapter);8730 HRESULT rc2 = i_detachFromTapInterface(pNetworkAdapter); 8733 8731 if (FAILED(rc2) && SUCCEEDED(rc)) 8734 8732 rc = rc2; … … 9280 9278 "The shared folder setup will not be complete. It is recommended to power down the virtual " 9281 9279 "machine and fix the shared folder settings while the machine is not running"), 9282 9280 it->first.c_str(), eik.getText().raw()); 9283 9281 } 9284 9282 }
Note:
See TracChangeset
for help on using the changeset viewer.