VirtualBox

Changeset 31743 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 18, 2010 7:58:11 AM (14 years ago)
Author:
vboxsync
Message:

FT updates for password

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r31742 r31743  
    74637463                    ULONG uPort;
    74647464                    ULONG uInterval;
    7465                     Bstr bstrAddress;
     7465                    Bstr bstrAddress, bstrPassword;
    74667466
    74677467                    rc = pMachine->COMGETTER(FaultTolerancePort)(&uPort);
     
    74717471                        if (SUCCEEDED(rc))
    74727472                            rc = pMachine->COMGETTER(FaultToleranceAddress)(bstrAddress.asOutParam());
     7473                        if (SUCCEEDED(rc))
     7474                            rc = pMachine->COMGETTER(FaultTolerancePassword)(bstrPassword.asOutParam());
    74737475                    }
    74747476                    if (SUCCEEDED(rc))
     
    74767478                        Utf8Str strAddress(bstrAddress);
    74777479                        const char *pszAddress = strAddress.isEmpty() ? NULL : strAddress.c_str();
     7480                        Utf8Str strPassword(bstrPassword);
     7481                        const char *pszPassword = strPassword.isEmpty() ? NULL : strPassword.c_str();
    74787482
    74797483                        /** @todo set progress cancel callback! */
    74807484
    74817485                        /* 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);
    74837487                        AssertRC(vrc);
    74847488                    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette