Lines Matching defs:pConsole

424     pVmm2UserMethods->pConsole          = this;
434 pIfSecKey->pConsole = this;
441 pIfSecKeyHlp->pConsole = this;
1763 ComObjPtr<Console> pConsole = reinterpret_cast<Console *>(pvExtension);
1764 HRESULT hrc = pConsole->mControl->PushGuestProperty(name.raw(),
9429 ComObjPtr<Console> pConsole = task->mConsole;
9435 AutoWriteLock alock(pConsole COMMA_LOCKVAL_SRC_POS);
9438 Assert(pConsole->mpUVM == NULL);
9445 if (!pConsole->m_pVMMDev)
9447 pConsole->m_pVMMDev = new VMMDev(pConsole);
9448 AssertReturn(pConsole->m_pVMMDev, E_FAIL);
9475 rc = pConsole->mControl->LockMedia();
9482 ConsoleVRDPServer *server = pConsole->i_consoleVRDPServer();
9496 pConsole->mVRDEServer->GetVRDEProperty(Bstr("TCP/Ports").raw(), bstr.asOutParam());
9529 ComPtr<IMachine> pMachine = pConsole->i_machine();
9543 pConsole->mpVmm2UserMethods,
9547 static_cast<Console *>(pConsole),
9553 pConsole->i_consoleVRDPServer()->EnableConnections();
9562 vrc = SSMR3RegisterExternal(pConsole->mpUVM, sSSMConsoleUnit, 0 /*iInstance*/, sSSMConsoleVer, 0 /* cbGuess */,
9566 static_cast<Console *>(pConsole));
9569 vrc = static_cast<Console *>(pConsole)->i_getDisplay()->i_registerSSM(pConsole->mpUVM);
9577 MachineDebugger *machineDebugger = pConsole->i_getMachineDebugger();
9584 if (pConsole->m_pVMMDev->isShFlActive())
9595 rc = pConsole->i_createSharedFolder(it->first, d);
9599 pConsole->i_setVMRuntimeErrorCallbackF(0, "BrokenSharedFolder",
9619 rc = pConsole->i_captureUSBDevices(pConsole->mpUVM);
9629 vrc = VMR3LoadFromFile(pConsole->mpUVM,
9638 pConsole->i_setMachineState(MachineState_Paused);
9643 vrc = pConsole->mptrExtPackManager->i_callAllVmPowerOnHooks(pConsole, pVM);
9646 vrc = VMR3Resume(pConsole->mpUVM, VMRESUMEREASON_STATE_RESTORED);
9654 int vrc2 = VMR3PowerOff(pConsole->mpUVM); AssertLogRelRC(vrc2);
9656 pConsole->mptrExtPackManager->i_callAllVmPowerOffHooks(pConsole, pVM);
9664 rc = pConsole->i_teleporterTrg(pConsole->mpUVM, pMachine, &task->mErrorMsg, task->mStartPaused,
9669 int vrc2 = VMR3PowerOff(pConsole->mpUVM); AssertLogRelRC(vrc2);
9671 pConsole->mptrExtPackManager->i_callAllVmPowerOffHooks(pConsole, pVM);
9693 if (task->mProgress->i_setCancelCallback(faultToleranceProgressCancelCallback, pConsole->mpUVM))
9704 vrc = pConsole->mptrExtPackManager->i_callAllVmPowerOnHooks(pConsole, pVM);
9707 vrc = FTMR3PowerOn(pConsole->mpUVM,
9722 pConsole->i_setMachineState(MachineState_Paused);
9727 vrc = pConsole->mptrExtPackManager->i_callAllVmPowerOnHooks(pConsole, pVM);
9730 vrc = VMR3PowerOn(pConsole->mpUVM);
9748 HRESULT rc2 = pConsole->i_powerDown();
9760 VMR3AtErrorDeregister(pConsole->mpUVM, Console::i_genericVMSetErrorCallback, &task->mErrorMsg);
9770 VMR3ReleaseUVM(pConsole->mpUVM);
9771 pConsole->mpUVM = NULL;
9800 if ( pConsole->mMachineState == MachineState_Starting
9801 || pConsole->mMachineState == MachineState_Restoring
9802 || pConsole->mMachineState == MachineState_TeleportingIn
9818 Assert(pConsole->mpUVM == NULL);
9819 i_vmstateChangeCallback(NULL, VMSTATE_TERMINATED, VMSTATE_CREATING, pConsole);
9843 pConsole->mControl->EndPowerUp(rc);
9981 Console *pConsole = ((MYVMM2USERMETHODS *)pThis)->pConsole;
9991 HRESULT hrc = pConsole->mMachine->SaveState(pProgress.asOutParam());
10041 Console *pConsole = ((MYVMM2USERMETHODS *)pThis)->pConsole;
10044 pConsole->mfPowerOffCausedByReset = true;
10057 Console *pConsole = ((MYPDMISECKEY *)pInterface)->pConsole;
10059 AutoReadLock thatLock(pConsole COMMA_LOCKVAL_SRC_POS);
10062 int rc = pConsole->m_pKeyStore->retainSecretKey(Utf8Str(pszId), &pKey);
10078 Console *pConsole = ((MYPDMISECKEY *)pInterface)->pConsole;
10080 AutoReadLock thatLock(pConsole COMMA_LOCKVAL_SRC_POS);
10081 return pConsole->m_pKeyStore->releaseSecretKey(Utf8Str(pszId));
10090 Console *pConsole = ((MYPDMISECKEY *)pInterface)->pConsole;
10092 AutoReadLock thatLock(pConsole COMMA_LOCKVAL_SRC_POS);
10095 int rc = pConsole->m_pKeyStore->retainSecretKey(Utf8Str(pszId), &pKey);
10108 Console *pConsole = ((MYPDMISECKEY *)pInterface)->pConsole;
10110 AutoReadLock thatLock(pConsole COMMA_LOCKVAL_SRC_POS);
10111 return pConsole->m_pKeyStore->releaseSecretKey(Utf8Str(pszId));
10120 Console *pConsole = ((MYPDMISECKEYHLP *)pInterface)->pConsole;
10123 pConsole->mMachine->DeleteGuestProperty(Bstr("/VirtualBox/HostInfo/DekMissing").raw());
10124 pConsole->mMachine->SetGuestProperty(Bstr("/VirtualBox/HostInfo/DekMissing").raw(),
10126 pConsole->mMachine->SaveSettings();
10159 Console *pConsole;
10201 AutoWriteLock alock(pThis->pConsole COMMA_LOCKVAL_SRC_POS);
10225 rc = pThis->pConsole->mControl->EjectMedium(pMediumAtt, pNewMediumAtt.asOutParam());
10228 pThis->pConsole->mMachine->SaveSettings();
10229 fireMediumChangedEvent(pThis->pConsole->mEventSource, pNewMediumAtt);
10295 if (!CFGMR3AreValuesValid(pCfg, "papLeds\0pmapMediumAttachments\0DeviceInstance\0pConsole\0First\0Last\0"))
10334 rc = CFGMR3QueryPtr(pCfg, "pConsole", (void **)&pThis->pConsole);
10337 AssertMsgFailed(("Configuration error: Failed to query the \"pConsole\" value! rc=%Rrc\n", rc));