Changeset 31743 in vbox for trunk/src/VBox/Main
- Timestamp:
- Aug 18, 2010 7:58:11 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r31742 r31743 7463 7463 ULONG uPort; 7464 7464 ULONG uInterval; 7465 Bstr bstrAddress ;7465 Bstr bstrAddress, bstrPassword; 7466 7466 7467 7467 rc = pMachine->COMGETTER(FaultTolerancePort)(&uPort); … … 7471 7471 if (SUCCEEDED(rc)) 7472 7472 rc = pMachine->COMGETTER(FaultToleranceAddress)(bstrAddress.asOutParam()); 7473 if (SUCCEEDED(rc)) 7474 rc = pMachine->COMGETTER(FaultTolerancePassword)(bstrPassword.asOutParam()); 7473 7475 } 7474 7476 if (SUCCEEDED(rc)) … … 7476 7478 Utf8Str strAddress(bstrAddress); 7477 7479 const char *pszAddress = strAddress.isEmpty() ? NULL : strAddress.c_str(); 7480 Utf8Str strPassword(bstrPassword); 7481 const char *pszPassword = strPassword.isEmpty() ? NULL : strPassword.c_str(); 7478 7482 7479 7483 /** @todo set progress cancel callback! */ 7480 7484 7481 7485 /* Power on the FT enabled VM. */ 7482 vrc = FTMR3PowerOn(pVM, (task->mEnmFaultToleranceState == FaultToleranceState_Master) /* fMaster */, uInterval, pszAddress, uPort );7486 vrc = FTMR3PowerOn(pVM, (task->mEnmFaultToleranceState == FaultToleranceState_Master) /* fMaster */, uInterval, pszAddress, uPort, pszPassword); 7483 7487 AssertRC(vrc); 7484 7488 }
Note:
See TracChangeset
for help on using the changeset viewer.