Lines Matching refs:pMachine

67     ComObjPtr<SnapshotMachine>  pMachine;
134 m->pMachine = aMachine;
162 Assert(m->pMachine->isWriteLockOnCurrentThread());
185 if (m->pMachine)
187 m->pMachine->uninit();
188 m->pMachine.setNull();
218 Assert( m->pMachine->mData->mMachineState == MachineState_DeletingSnapshot
219 || m->pMachine->mData->mMachineState == MachineState_DeletingSnapshotOnline
220 || m->pMachine->mData->mMachineState == MachineState_DeletingSnapshotPaused);
221 Assert(m->pMachine->isWriteLockOnCurrentThread());
235 if (this == m->pMachine->mData->mCurrentSnapshot)
237 m->pMachine->mData->mCurrentSnapshot = parentSnapshot;
241 m->pMachine->mData->mCurrentStateModified = TRUE;
244 if (this == m->pMachine->mData->mFirstSnapshot)
249 m->pMachine->mData->mFirstSnapshot = childSnapshot;
252 m->pMachine->mData->mFirstSnapshot.setNull();
279 Assert(m->pMachine->isWriteLockOnCurrentThread());
340 rc = m->pMachine->i_onSnapshotChange(this);
362 rc = m->pMachine->i_onSnapshotChange(this);
388 m->pMachine.queryInterfaceTo(aMachine.asOutParam());
405 AutoReadLock alock(m->pMachine COMMA_LOCKVAL_SRC_POS);
453 return m->pMachine->mSSData->strStateFilePath;
468 AutoReadLock alock(m->pMachine COMMA_LOCKVAL_SRC_POS);
492 AutoReadLock alock(m->pMachine COMMA_LOCKVAL_SRC_POS);
529 AutoReadLock alock(m->pMachine COMMA_LOCKVAL_SRC_POS);
541 return m->pMachine;
648 const Utf8Str &path = m->pMachine->mSSData->strStateFilePath;
656 m->pMachine->mSSData->strStateFilePath = Utf8StrFmt("%s%s",
687 const Utf8Str &path = m->pMachine->mSSData->strStateFilePath;
729 AutoWriteLock alock(m->pMachine COMMA_LOCKVAL_SRC_POS);
752 m->pMachine->i_copyPathRelativeToMachine(i_getStateFilePath(), data.strStateFile);
756 HRESULT rc = m->pMachine->i_saveHardware(data.hardware, &data.debugging, &data.autostart);
759 rc = m->pMachine->i_saveStorageControllers(data.storage);
809 AutoReadLock alock(m->pMachine COMMA_LOCKVAL_SRC_POS);
835 HRESULT rc = m->pMachine->i_detachAllMedia(writeLock,
843 if (!m->pMachine->mSSData->strStateFilePath.isEmpty())
851 if (str == m->pMachine->mSSData->strStateFilePath)
858 llFilenames.push_back(m->pMachine->mSSData->strStateFilePath);
895 Assert(m->pMachine->isWriteLockOnCurrentThread());
988 ComObjPtr<Machine> pMachine = aSessionMachine->mPeer;
992 unconst(mMachine) = pMachine;
994 unconst(mParent) = pMachine->mParent;
997 mData.share(pMachine->mData);
1001 mUserData.share(pMachine->mUserData);
1057 mBIOSSettings->initCopy(this, pMachine->mBIOSSettings);
1060 mVRDEServer->initCopy(this, pMachine->mVRDEServer);
1063 mAudioAdapter->initCopy(this, pMachine->mAudioAdapter);
1080 mUSBDeviceFilters->initCopy(this, pMachine->mUSBDeviceFilters);
1082 mNetworkAdapters.resize(pMachine->mNetworkAdapters.size());
1086 mNetworkAdapters[slot]->initCopy(this, pMachine->mNetworkAdapters[slot]);
1092 mSerialPorts[slot]->initCopy(this, pMachine->mSerialPorts[slot]);
1098 mParallelPorts[slot]->initCopy(this, pMachine->mParallelPorts[slot]);
1102 mBandwidthControl->initCopy(this, pMachine->mBandwidthControl);
3082 ComObjPtr<Machine> pMachine = this;
3087 pMachine = pChildSnapshot->i_getSnapshotMachine();
3090 pAtt = i_findAttachment(pMachine->mMediaData->mAttachments, it->mpSource);
3095 it->mpTarget->i_addBackReference(pMachine->mData->mUuid, childSnapshotId);
3105 it->mpTarget->i_addBackReference(pMachine->mData->mUuid, childSnapshotId);