Lines Matching defs:pUVM

2260 /*static*/ DECLCALLBACK(int) Console::i_unplugCpu(Console *pThis, PUVM pUVM, VMCPUID idCpu)
2262 LogFlowFunc(("pThis=%p pVM=%p idCpu=%u\n", pThis, pUVM, idCpu));
2266 int vrc = PDMR3DeviceDetach(pUVM, "acpi", 0, idCpu, 0);
2272 HRESULT Console::i_doCPURemove(ULONG aCpu, PUVM pUVM)
2308 int vrc = PDMR3QueryDeviceLun(pUVM, "acpi", 0, aCpu, &pBase);
2316 vrc = VMR3GetCpuCoreAndPackageIdFromCpuId(pUVM, aCpu, &idCpuCore, &idCpuPackage); AssertRC(vrc);
2348 vrc = VMR3ReqCallU(pUVM, 0, &pReq, 0 /* no wait! */, VMREQFLAGS_VBOX_STATUS,
2350 this, pUVM, (VMCPUID)aCpu);
2365 vrc = VMR3HotUnplugCpu(pUVM, aCpu);
2381 /*static*/ DECLCALLBACK(int) Console::i_plugCpu(Console *pThis, PUVM pUVM, VMCPUID idCpu)
2387 int rc = VMR3HotPlugCpu(pUVM, idCpu);
2390 PCFGMNODE pInst = CFGMR3GetChild(CFGMR3GetRootU(pUVM), "Devices/acpi/0/");
2407 rc = PDMR3DeviceAttach(pUVM, "acpi", 0, idCpu, 0, &pBase); RC_CHECK();
2418 HRESULT Console::i_doCPUAdd(ULONG aCpu, PUVM pUVM)
2456 int vrc = VMR3ReqCallU(pUVM, 0, &pReq, 0 /* no wait! */, VMREQFLAGS_VBOX_STATUS,
2458 this, pUVM, aCpu);
2474 vrc = VMR3GetCpuCoreAndPackageIdFromCpuId(pUVM, aCpu, &idCpuCore, &idCpuPackage); AssertRC(vrc);
3321 * @param pUVM Safe VM handle.
3327 HRESULT Console::i_suspendBeforeConfigChange(PUVM pUVM, AutoWriteLock *pAlock, bool *pfResume)
3330 VMSTATE enmVMState = VMR3GetStateU(pUVM);
3341 int rc = VMR3Suspend(pUVM, VMSUSPENDREASON_RECONFIG);
3374 * @param pUVM Safe VM handle.
3376 void Console::i_resumeAfterConfigChange(PUVM pUVM)
3381 int rc = VMR3Resume(pUVM, VMRESUMEREASON_RECONFIG);
3386 VMSTATE enmVMState = VMR3GetStateU(pUVM);
3390 i_vmstateChangeCallback(pUVM, VMSTATE_SUSPENDED, enmVMState, this);
3400 * @param pUVM Safe VM handle.
3404 HRESULT Console::i_doMediumChange(IMediumAttachment *aMediumAttachment, bool fForce, PUVM pUVM)
3467 rc = i_suspendBeforeConfigChange(pUVM, &alock, &fResume);
3477 int vrc = VMR3ReqCallU(pUVM, VMCPUID_ANY, &pReq, 0 /* no wait! */, VMREQFLAGS_VBOX_STATUS,
3479 this, pUVM, pszDevice, uInstance, enmBus, fUseHostIOCache, aMediumAttachment, fForce);
3492 i_resumeAfterConfigChange(pUVM);
3516 * @param pUVM The VM handle.
3532 PUVM pUVM,
3551 VMSTATE enmVMState = VMR3GetStateU(pUVM);
3568 pUVM,
3580 * @param pUVM Safe VM handle.
3585 HRESULT Console::i_doStorageDeviceAttach(IMediumAttachment *aMediumAttachment, PUVM pUVM, bool fSilent)
3648 rc = i_suspendBeforeConfigChange(pUVM, &alock, &fResume);
3658 int vrc = VMR3ReqCallU(pUVM, VMCPUID_ANY, &pReq, 0 /* no wait! */, VMREQFLAGS_VBOX_STATUS,
3660 this, pUVM, pszDevice, uInstance, enmBus, fUseHostIOCache, aMediumAttachment, fSilent);
3673 i_resumeAfterConfigChange(pUVM);
3698 * @param pUVM The VM handle.
3707 PUVM pUVM,
3726 VMSTATE enmVMState = VMR3GetStateU(pUVM);
3743 pUVM,
3754 * @param pUVM Safe VM handle.
3759 HRESULT Console::i_doStorageDeviceDetach(IMediumAttachment *aMediumAttachment, PUVM pUVM, bool fSilent)
3819 rc = i_suspendBeforeConfigChange(pUVM, &alock, &fResume);
3829 int vrc = VMR3ReqCallU(pUVM, VMCPUID_ANY, &pReq, 0 /* no wait! */, VMREQFLAGS_VBOX_STATUS,
3831 this, pUVM, pszDevice, uInstance, enmBus, aMediumAttachment, fSilent);
3844 i_resumeAfterConfigChange(pUVM);
3868 * @param pUVM The VM handle.
3877 PUVM pUVM,
3895 VMSTATE enmVMState = VMR3GetStateU(pUVM);
3900 pCtlInst = CFGMR3GetChildF(CFGMR3GetRootU(pUVM), "Devices/%s/%u/", pcszDevice, uInstance);
3933 rc = PDMR3DeviceDetach(pUVM, pcszDevice, uInstance, uLUN, fFlags);
3959 rc = PDMR3UsbDetachDevice(pUVM, &it->mUuid);
4242 void Console::notifyNatDnsChange(PUVM pUVM, const char *pszDevice, ULONG ulInstanceMax)
4248 int rc = PDMR3QueryDriverOnLun(pUVM, pszDevice, ulInstance, 0 /* iLun */, "NAT", &pBase);
4823 * @parma pUVM The VM handle (caller hold this safely).
4829 HRESULT Console::i_doNetworkAdapterChange(PUVM pUVM,
4845 HRESULT hr = i_suspendBeforeConfigChange(pUVM, NULL, &fResume);
4854 int rc = VMR3ReqCallWaitU(pUVM, 0 /*idDstCpu*/,
4856 this, pUVM, pszDevice, uInstance, uLun, aNetworkAdapter);
4859 i_resumeAfterConfigChange(pUVM);
4875 * @param pUVM The VM handle.
4886 PUVM pUVM,
4921 VMSTATE enmVMState = VMR3GetStateU(pUVM);
4926 PCFGMNODE pInst = CFGMR3GetChildF(CFGMR3GetRootU(pUVM), "Devices/%s/%d/", pszDevice, uInstance);
6846 PUVM pUVM = mpUVM;
6847 if (!pUVM)
6855 uint32_t cRefs = VMR3RetainUVM(pUVM);
6862 *a_ppUVM = pUVM;
7463 PUVM pUVM = mpUVM; Assert(pUVM != NULL);
7464 uint32_t cRefs = VMR3RetainUVM(pUVM); Assert(cRefs != UINT32_MAX);
7587 vrc = VMR3PowerOff(pUVM);
7589 mptrExtPackManager->i_callAllVmPowerOffHooks(this, VMR3GetVM(pUVM));
7641 * addVMCaller()/releaseVMCaller(). (We have our own ref on pUVM.) */
7649 vrc = VMR3Destroy(pUVM);
7673 mpUVM = pUVM;
7674 pUVM = NULL;
7707 if (pUVM != NULL)
7708 VMR3ReleaseUVM(pUVM);
8143 * @remarks The @a pUVM parameter can be NULL in one case where powerUpThread()
8146 DECLCALLBACK(void) Console::i_vmstateChangeCallback(PUVM pUVM, VMSTATE enmState, VMSTATE enmOldState, void *pvUser)
8148 LogFlowFunc(("Changing state from %s to %s (pUVM=%p)\n",
8149 VMR3GetStateName(enmOldState), VMR3GetStateName(enmState), pUVM));
8271 /* Terminate host interface networking. If pUVM is NULL, we've been
8276 if (pUVM)
8681 Console::i_usbAttachCallback(Console *that, PUVM pUVM, IUSBDevice *aHostDevice, PCRTUUID aUuid, bool aRemote,
8691 int vrc = PDMR3UsbCreateProxyDevice(pUVM, aUuid, aRemote, aAddress, pvRemoteBackend,
8770 Console::i_usbDetachCallback(Console *that, PUVM pUVM, PCRTUUID aUuid)
8778 int vrc = PDMR3UsbDetachDevice(pUVM, aUuid);
9079 * @param pUVM The user mode VM handle.
9085 DECLCALLBACK(int) Console::i_stateProgressCallback(PUVM pUVM, unsigned uPercent, void *pvUser)
9093 NOREF(pUVM);
9104 Console::i_genericVMSetErrorCallback(PUVM pUVM, void *pvUser, int rc, RT_SRC_POS_DECL,
9123 NOREF(pUVM);
9130 * @param pUVM The user mode VM handle. Ignored, so passing NULL
9140 Console::i_setVMRuntimeErrorCallback(PUVM pUVM, void *pvUser, uint32_t fFlags,
9157 LogFlowFuncLeave(); NOREF(pUVM);
9164 * @param pUVM The VM handle.
9166 HRESULT Console::i_captureUSBDevices(PUVM pUVM)
9391 PUVM pUVM = (PUVM)pvUser;
9393 if (pUVM)
9394 FTMR3CancelStandby(pUVM);
9860 * @param pUVM The VM handle.
9874 PUVM pUVM,
9887 LogFlowFunc(("pUVM=%p aMediumAtt=%p phrc=%p\n", pUVM, aMediumAtt, phrc));
9916 pUVM,
9979 Console::i_vmm2User_SaveState(PCVMM2USERMETHODS pThis, PUVM pUVM)
9982 NOREF(pUVM);
9999 Console::i_vmm2User_NotifyEmtInit(PCVMM2USERMETHODS pThis, PUVM pUVM, PUVMCPU pUVCpu)
10001 NOREF(pThis); NOREF(pUVM); NOREF(pUVCpu);
10009 Console::i_vmm2User_NotifyEmtTerm(PCVMM2USERMETHODS pThis, PUVM pUVM, PUVMCPU pUVCpu)
10011 NOREF(pThis); NOREF(pUVM); NOREF(pUVCpu);
10019 Console::i_vmm2User_NotifyPdmtInit(PCVMM2USERMETHODS pThis, PUVM pUVM)
10021 NOREF(pThis); NOREF(pUVM);
10029 Console::i_vmm2User_NotifyPdmtTerm(PCVMM2USERMETHODS pThis, PUVM pUVM)
10031 NOREF(pThis); NOREF(pUVM);
10039 Console::i_vmm2User_NotifyResetTurnedIntoPowerOff(PCVMM2USERMETHODS pThis, PUVM pUVM)
10042 NOREF(pUVM);