Searched defs:pMachine (Results 1 - 25 of 34) sorted by relevance

12

/vbox/src/VBox/Main/include/
H A DSerialPortImpl.h91 pMachine(NULL)
95 Machine * const pMachine; member in struct:SerialPort::Data
H A DBandwidthControlImpl.h76 Data(Machine *pMachine) argument
77 : pParent(pMachine)
H A DApplianceImplPrivate.h156 ComPtr<IMachine> pMachine; member in struct:MyHardDiskAttachment
233 ComPtr<Machine> pMachine; // VirtualBox machine this description was exported from (export only) member in struct:VirtualSystemDescription::Data
/vbox/src/VBox/Main/src-server/
H A DClientToken.cpp74 Machine::ClientToken::ClientToken(const ComObjPtr<Machine> &pMachine, argument
76 mMachine(pMachine)
80 Bstr tokenId = pMachine->mData->m_strConfigFileFull;
92 pMachine->mData->mUuid.raw());
123 Utf8Str semName = pMachine->mData->m_strConfigFileFull;
192 mClientTokenId = pMachine->mData->m_strConfigFileFull;
H A DHostPower.cpp145 ComPtr<SessionMachine> pMachine = *it; local
146 rc = pMachine->GetExtraData(Bstr("VBoxInternal2/SavestateOnBatteryLow").raw(),
165 rc = pMachine->i_saveStateWithReason(Reason_HostBatteryLow, progress);
168 LogRel(("SaveState '%s' failed with %Rhrc\n", pMachine->i_getName().c_str(), rc));
185 LogRel(("SaveState '%s' succeeded\n", pMachine->i_getName().c_str()));
H A DBandwidthGroupImpl.cpp245 ComObjPtr<Machine> pMachine = m->pParent->i_getMachine(); local
247 pMachine->i_onBandwidthGroupChange(this);
H A DParallelPortImpl.cpp41 pMachine(NULL)
46 Machine * const pMachine; member in struct:ParallelPort::Data
87 unconst(m->pMachine) = aParent;
123 unconst(m->pMachine) = aParent;
157 unconst(m->pMachine) = aParent;
188 unconst(m->pMachine) = NULL;
210 AutoMutableStateDependency adep(m->pMachine);
230 AutoWriteLock mlock(m->pMachine COMMA_LOCKVAL_SRC_POS);
231 m->pMachine->i_setModified(Machine::IsModified_ParallelPorts);
234 m->pMachine
[all...]
H A DUSBControllerImpl.cpp53 Data(Machine *pMachine) argument
54 : pParent(pMachine)
H A DBIOSSettingsImpl.cpp38 : pMachine(NULL)
41 Machine * const pMachine; member in struct:BIOSSettings::Data
86 unconst(m->pMachine) = aParent;
117 unconst(m->pMachine) = aParent;
147 unconst(m->pMachine) = aParent;
175 unconst(m->pMachine) = NULL;
199 AutoMutableStateDependency adep(m->pMachine);
208 AutoWriteLock mlock(m->pMachine COMMA_LOCKVAL_SRC_POS); // mParent is const, needs no locking
209 m->pMachine->i_setModified(Machine::IsModified_BIOS);
228 AutoMutableStateDependency adep(m->pMachine);
[all...]
H A DMediumAttachmentImpl.cpp71 : pMachine(aMachine),
76 Machine * const pMachine; member in struct:MediumAttachment::Data
143 unconst(m->pMachine) = aParent;
221 unconst(m->pMachine) = NULL;
366 hrc = m->pMachine->i_getBandwidthGroup(m->bd->strBandwidthGroup, pBwGroup, true /* fSetError */);
583 void MediumAttachment::i_updateParentMachine(Machine * const pMachine) argument
592 unconst(m->pMachine) = pMachine;
H A DUSBDeviceFilterImpl.cpp464 ComObjPtr<Machine> pMachine = mParent->i_getMachine(); local
472 AutoWriteLock mlock(pMachine COMMA_LOCKVAL_SRC_POS);
473 pMachine->i_setModified(Machine::IsModified_USB);
502 ComObjPtr<Machine> pMachine = mParent->i_getMachine(); local
510 AutoWriteLock mlock(pMachine COMMA_LOCKVAL_SRC_POS);
511 pMachine->i_setModified(Machine::IsModified_USB);
618 ComObjPtr<Machine> pMachine = mParent->i_getMachine(); local
626 AutoWriteLock mlock(pMachine COMMA_LOCKVAL_SRC_POS);
627 pMachine->i_setModified(Machine::IsModified_USB);
656 ComObjPtr<Machine> pMachine local
800 ComObjPtr<Machine> pMachine = mParent->i_getMachine(); local
[all...]
H A DUSBDeviceFiltersImpl.cpp51 Data(Machine *pMachine) argument
52 : pParent(pMachine),
53 pHost(pMachine->i_getVirtualBox()->i_host())
H A DUSBProxyService.cpp465 ComObjPtr<SessionMachine> pMachine = *it; local
469 && pMachine == aIgnoreMachine)
475 if (runMachineFilters(pMachine, aDevice))
477 LogFlowThisFunc(("{%s} attached to %p\n", aDevice->i_getName().c_str(), (void *)pMachine));
H A DMachineImplCloneVM.cpp121 HRESULT createDifferencingMedium(const ComObjPtr<Machine> &pMachine, const ComObjPtr<Medium> &pParent,
150 ComPtr<IMachine> pMachine;
151 rc = pSnapshot->COMGETTER(Machine)(pMachine.asOutParam());
153 machineList.append((Machine*)(IMachine*)pMachine);
660 HRESULT MachineCloneVMPrivate::createDifferencingMedium(const ComObjPtr<Machine> &pMachine, const ComObjPtr<Medium> &pParent, argument
710 rc = VirtualBoxBase::handleUnexpectedExceptions(pMachine, RT_SRC_POS);
/vbox/src/VBox/Main/testcase/
H A DtstOVF.cpp351 ComPtr<IMachine> pMachine; local
352 rc = pVirtualBox->FindMachine(bstrUUID.raw(), pMachine.asOutParam());
357 rc = pMachine->Unregister(CleanupMode_DetachAllReturnHardDisksOnly,
362 rc = pMachine->DeleteConfig(ComSafeArrayAsInParam(sfaMedia), pProgress.asOutParam());
/vbox/src/VBox/Frontends/VBoxBalloonCtrl/
H A DVBoxWatchdogUtils.cpp65 * @param pMachine Pointer to the machine's internal structure.
69 int getMetric(PVBOXWATCHDOG_MACHINE pMachine, const Bstr& strName, LONG *pulData) argument
71 AssertPtrReturn(pMachine, VERR_INVALID_POINTER);
77 pMachine->machine.queryInterfaceTo(&metricObjects[0]);
95 Assert(!pMachine->collector.isNull());
96 HRESULT hrc = pMachine->collector->QueryMetricsData(
139 * @param pMachine Machine to get payload for.
142 void* payloadFrom(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule) argument
144 AssertPtrReturn(pMachine, NULL);
146 mapPayloadIter it = pMachine
153 payloadAlloc(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule, size_t cbSize, void **ppszPayload) argument
178 payloadFree(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule) argument
199 getMachineState(const PVBOXWATCHDOG_MACHINE pMachine) argument
[all...]
H A DVBoxModAPIMonitor.cpp181 static int apimonMachineControl(const Bstr &strUuid, PVBOXWATCHDOG_MACHINE pMachine, argument
185 AssertPtrReturn(pMachine, VERR_INVALID_POINTER);
317 static bool apimonHandleVM(const PVBOXWATCHDOG_MACHINE pMachine) argument
323 mapGroupsIterConst itVMGroup = pMachine->groups.begin();
324 while ( itVMGroup != pMachine->groups.end()
H A DVBoxModBallooning.cpp212 * @param pMachine Machine to determine ballooning for.
214 static bool balloonIsRequired(PVBOXWATCHDOG_MACHINE pMachine) argument
216 AssertPtrReturn(pMachine, false);
220 payloadFrom(pMachine, VBOX_MOD_BALLOONING_NAME);
222 pData->ulBalloonSizeMax = pMachine->machine.isNull()
223 ? 0 : balloonGetMaxSize(pMachine->machine);
236 PVBOXWATCHDOG_MACHINE pMachine = getMachine(strUuid); local
237 AssertPtrBreakStmt(pMachine, vrc=VERR_INVALID_PARAMETER);
239 ComPtr<IMachine> m = pMachine->machine;
260 ComPtr<IPerformanceCollector> coll = pMachine
285 balloonMachineUpdate(const Bstr &strUuid, PVBOXWATCHDOG_MACHINE pMachine) argument
509 PVBOXWATCHDOG_MACHINE pMachine = getMachine(strUuid); local
523 PVBOXWATCHDOG_MACHINE pMachine = getMachine(strUuid); local
534 PVBOXWATCHDOG_MACHINE pMachine = getMachine(strUuid); local
[all...]
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageSnapshot.cpp164 * @param pMachine Reference to the VM (locked) we're operating on.
166 static RTEXITCODE handleSnapshotList(HandlerArg *pArgs, ComPtr<IMachine> &pMachine) argument
191 HRESULT hrc = pMachine->FindSnapshot(Bstr().raw(), pSnapshot.asOutParam());
200 CHECK_ERROR2_RET(pMachine, COMGETTER(CurrentSnapshot)(pCurrentSnapshot.asOutParam()), RTEXITCODE_FAILURE);
213 * @param pMachine Machine to dump snapshots for.
215 void DumpSnapshot(ComPtr<IMachine> &pMachine) argument
223 CHECK_ERROR_BREAK(pMachine, FindSnapshot(Bstr("").raw(), pSnapshot.asOutParam()));
227 CHECK_ERROR_BREAK(pMachine, COMGETTER(CurrentSnapshot)(pCurrentSnapshot.asOutParam()));
231 CHECK_ERROR_BREAK(pMachine, COMGETTER(MediumAttachments)(ComSafeArrayAsOutParam(aAttachments)));
277 ComPtr<IMachine> pMachine; local
[all...]
H A DVBoxManageAppliance.cpp1133 ComPtr<IMachine> pMachine = *itM; local
1135 CHECK_ERROR_BREAK(pMachine, ExportTo(pAppliance, Bstr(pszAbsFilePath).raw(), pVSD.asOutParam()));
H A DVBoxManageDisk.cpp1281 ComPtr<IMachine> pMachine; local
1282 CHECK_ERROR(pVirtualBox, FindMachine(machineIds[i], pMachine.asOutParam()));
1283 if (pMachine)
1286 pMachine->COMGETTER(Name)(name.asOutParam());
1287 pMachine->COMGETTER(Id)(uuid.asOutParam());
1298 pMachine->FindSnapshot(snapshotIds[j], pSnapshot.asOutParam());
/vbox/src/VBox/Main/src-client/
H A DGuestSessionImplTasks.cpp78 const ComPtr<IMachine> pMachine = pConsole->i_machine(); local
80 Assert(!pMachine.isNull());
83 HRESULT hr = pMachine->GetGuestProperty(Bstr(strPath).raw(),
H A DConsoleImplTeleporter.cpp135 IMachine *pMachine, IInternalMachineControl *pControl,
138 , mpMachine(pMachine)
1021 * @param pMachine The IMachine for the virtual machine.
1032 HRESULT Console::i_teleporterTrg(PUVM pUVM, IMachine *pMachine, Utf8Str *pErrorMsg, bool fStartPaused, argument
1035 LogThisFunc(("pUVM=%p pMachine=%p fStartPaused=%RTbool pProgress=%p\n", pUVM, pMachine, fStartPaused, pProgress));
1043 HRESULT hrc = pMachine->COMGETTER(TeleporterPort)(&uPort);
1049 hrc = pMachine->COMGETTER(TeleporterAddress)(bstrAddress.asOutParam());
1056 hrc = pMachine->COMGETTER(TeleporterPassword)(bstrPassword.asOutParam());
1080 hrc = pMachine
134 TeleporterStateTrg(Console *pConsole, PUVM pUVM, Progress *pProgress, IMachine *pMachine, IInternalMachineControl *pControl, PRTTIMERLR phTimerLR, bool fStartPaused) argument
[all...]
/vbox/src/VBox/HostServices/SharedOpenGL/crserver/
H A Dcrservice.cpp937 ComPtr<IMachine> pMachine; local
944 CHECK_ERROR_BREAK(pConsole, COMGETTER(Machine)(pMachine.asOutParam()));
945 CHECK_ERROR_BREAK(pMachine, COMGETTER(MonitorCount)(&monitorCount));
/vbox/src/VBox/Frontends/VBoxHeadless/
H A DVBoxHeadless.cpp164 ComPtr <IMachine> pMachine; local
167 hrc = gConsole->COMGETTER(Machine)(pMachine.asOutParam());
168 if (SUCCEEDED(hrc) && pMachine)
171 hrc = pMachine->COMGETTER(Id)(gpMachineId.asOutParam());
207 hrc = pMachine->GetExtraData(Bstr("VRDP/DisconnectOnGuestLogout").raw(),
259 hrc = pMachine->COMGETTER(VRDEServer)(vrdeServer.asOutParam());

Completed in 132 milliseconds

12