Lines Matching defs:Machine

103 // Machine::Data structure
106 Machine::Data::Data()
120 /* mUuid is initialized in Machine::init() */
137 Machine::Data::~Data()
152 // Machine::HWData structure
155 Machine::HWData::HWData()
228 Machine::HWData::~HWData()
233 // Machine::HDData structure
236 Machine::MediaData::MediaData()
240 Machine::MediaData::~MediaData()
245 // Machine class
251 Machine::Machine() :
262 Machine::~Machine()
265 HRESULT Machine::FinalConstruct()
271 void Machine::FinalRelease()
293 HRESULT Machine::init(VirtualBox *aParent,
410 HRESULT Machine::initFromSettings(VirtualBox *aParent,
517 * @param config Machine configuration loaded and parsed from XML.
521 HRESULT Machine::init(VirtualBox *aParent,
610 HRESULT Machine::initImpl(VirtualBox *aParent,
649 HRESULT Machine::i_tryCreateMachineConfigFile(bool fForceOverwrite)
664 tr("Machine settings file '%s' already exists"),
699 HRESULT Machine::i_registeredInit()
712 * all setters will return FALSE for a Machine instance if mRegistered
723 tr("Machine UUID {%RTuuid} in '%s' doesn't match its UUID {%s} in the registry file '%s'"),
766 LogWarning(("Machine {%RTuuid} is inaccessible! [%ls]\n",
798 void Machine::uninit()
811 i_saveSettings(NULL, Machine::SaveS_Force);
840 * after we return from this method (it expects the Machine instance is
850 static_cast<Machine*>(mData->mSession.mMachine)->i_setMachineState(MachineState_Aborted);
873 if (uuidMachine.isValid() && !uuidMachine.isZero()) // can be empty if we're called from a failure of Machine::init
894 HRESULT Machine::getParent(ComPtr<IVirtualBox> &aParent)
904 HRESULT Machine::getAccessible(BOOL *aAccessible)
955 HRESULT Machine::getAccessError(ComPtr<IVirtualBoxErrorInfo> &aAccessError)
982 HRESULT Machine::getName(com::Utf8Str &aName)
991 HRESULT Machine::setName(const com::Utf8Str &aName)
1012 HRESULT Machine::getDescription(com::Utf8Str &aDescription)
1021 HRESULT Machine::setDescription(const com::Utf8Str &aDescription)
1038 HRESULT Machine::getId(com::Guid &aId)
1047 HRESULT Machine::getGroups(std::vector<com::Utf8Str> &aGroups)
1059 HRESULT Machine::setGroups(const std::vector<com::Utf8Str> &aGroups)
1078 HRESULT Machine::getOSTypeId(com::Utf8Str &aOSTypeId)
1087 HRESULT Machine::setOSTypeId(const com::Utf8Str &aOSTypeId)
1112 HRESULT Machine::getFirmwareType(FirmwareType_T *aFirmwareType)
1121 HRESULT Machine::setFirmwareType(FirmwareType_T aFirmwareType)
1135 HRESULT Machine::getKeyboardHIDType(KeyboardHIDType_T *aKeyboardHIDType)
1144 HRESULT Machine::setKeyboardHIDType(KeyboardHIDType_T aKeyboardHIDType)
1158 HRESULT Machine::getPointingHIDType(PointingHIDType_T *aPointingHIDType)
1167 HRESULT Machine::setPointingHIDType(PointingHIDType_T aPointingHIDType)
1181 HRESULT Machine::getChipsetType(ChipsetType_T *aChipsetType)
1190 HRESULT Machine::setChipsetType(ChipsetType_T aChipsetType)
1222 HRESULT Machine::getParavirtProvider(ParavirtProvider_T *aParavirtProvider)
1231 HRESULT Machine::setParavirtProvider(ParavirtProvider_T aParavirtProvider)
1248 HRESULT Machine::getEffectiveParavirtProvider(ParavirtProvider_T *aParavirtProvider)
1350 HRESULT Machine::getHardwareVersion(com::Utf8Str &aHardwareVersion)
1359 HRESULT Machine::setHardwareVersion(const com::Utf8Str &aHardwareVersion)
1380 HRESULT Machine::getHardwareUUID(com::Guid &aHardwareUUID)
1392 HRESULT Machine::setHardwareUUID(const com::Guid &aHardwareUUID)
1412 HRESULT Machine::getMemorySize(ULONG *aMemorySize)
1421 HRESULT Machine::setMemorySize(ULONG aMemorySize)
1443 HRESULT Machine::getCPUCount(ULONG *aCPUCount)
1452 HRESULT Machine::setCPUCount(ULONG aCPUCount)
1487 HRESULT Machine::getCPUExecutionCap(ULONG *aCPUExecutionCap)
1496 HRESULT Machine::setCPUExecutionCap(ULONG aCPUExecutionCap)
1526 HRESULT Machine::getCPUHotPlugEnabled(BOOL *aCPUHotPlugEnabled)
1535 HRESULT Machine::setCPUHotPlugEnabled(BOOL aCPUHotPlugEnabled)
1588 HRESULT Machine::getEmulatedUSBCardReaderEnabled(BOOL *aEmulatedUSBCardReaderEnabled)
1602 HRESULT Machine::setEmulatedUSBCardReaderEnabled(BOOL aEmulatedUSBCardReaderEnabled)
1621 HRESULT Machine::getHPETEnabled(BOOL *aHPETEnabled)
1630 HRESULT Machine::setHPETEnabled(BOOL aHPETEnabled)
1647 HRESULT Machine::getVideoCaptureEnabled(BOOL *aVideoCaptureEnabled)
1655 HRESULT Machine::setVideoCaptureEnabled(BOOL aVideoCaptureEnabled)
1672 * We cannot do this because that function uses Machine::GetVideoCaptureEnabled to
1687 HRESULT Machine::getVideoCaptureScreens(std::vector<BOOL> &aVideoCaptureScreens)
1696 HRESULT Machine::setVideoCaptureScreens(const std::vector<BOOL> &aVideoCaptureScreens)
1727 HRESULT Machine::getVideoCaptureFile(com::Utf8Str &aVideoCaptureFile)
1737 HRESULT Machine::setVideoCaptureFile(const com::Utf8Str &aVideoCaptureFile)
1764 HRESULT Machine::getVideoCaptureWidth(ULONG *aVideoCaptureWidth)
1771 HRESULT Machine::setVideoCaptureWidth(ULONG aVideoCaptureWidth)
1786 HRESULT Machine::getVideoCaptureHeight(ULONG *aVideoCaptureHeight)
1793 HRESULT Machine::setVideoCaptureHeight(ULONG aVideoCaptureHeight)
1808 HRESULT Machine::getVideoCaptureRate(ULONG *aVideoCaptureRate)
1815 HRESULT Machine::setVideoCaptureRate(ULONG aVideoCaptureRate)
1830 HRESULT Machine::getVideoCaptureFPS(ULONG *aVideoCaptureFPS)
1837 HRESULT Machine::setVideoCaptureFPS(ULONG aVideoCaptureFPS)
1852 HRESULT Machine::getVideoCaptureMaxTime(ULONG *aVideoCaptureMaxTime)
1859 HRESULT Machine::setVideoCaptureMaxTime(ULONG aVideoCaptureMaxTime)
1874 HRESULT Machine::getVideoCaptureMaxFileSize(ULONG *aVideoCaptureMaxFileSize)
1881 HRESULT Machine::setVideoCaptureMaxFileSize(ULONG aVideoCaptureMaxFileSize)
1896 HRESULT Machine::getVideoCaptureOptions(com::Utf8Str &aVideoCaptureOptions)
1904 HRESULT Machine::setVideoCaptureOptions(const com::Utf8Str &aVideoCaptureOptions)
1919 HRESULT Machine::getGraphicsControllerType(GraphicsControllerType_T *aGraphicsControllerType)
1928 HRESULT Machine::setGraphicsControllerType(GraphicsControllerType_T aGraphicsControllerType)
1954 HRESULT Machine::getVRAMSize(ULONG *aVRAMSize)
1963 HRESULT Machine::setVRAMSize(ULONG aVRAMSize)
1985 HRESULT Machine::getMemoryBalloonSize(ULONG *aMemoryBalloonSize)
2000 HRESULT Machine::setMemoryBalloonSize(ULONG aMemoryBalloonSize)
2023 HRESULT Machine::getPageFusionEnabled(BOOL *aPageFusionEnabled)
2031 HRESULT Machine::setPageFusionEnabled(BOOL aPageFusionEnabled)
2047 HRESULT Machine::getAccelerate3DEnabled(BOOL *aAccelerate3DEnabled)
2056 HRESULT Machine::setAccelerate3DEnabled(BOOL aAccelerate3DEnabled)
2073 HRESULT Machine::getAccelerate2DVideoEnabled(BOOL *aAccelerate2DVideoEnabled)
2082 HRESULT Machine::setAccelerate2DVideoEnabled(BOOL aAccelerate2DVideoEnabled)
2097 HRESULT Machine::getMonitorCount(ULONG *aMonitorCount)
2106 HRESULT Machine::setMonitorCount(ULONG aMonitorCount)
2126 HRESULT Machine::getBIOSSettings(ComPtr<IBIOSSettings> &aBIOSSettings)
2134 HRESULT Machine::getCPUProperty(CPUPropertyType_T aProperty, BOOL *aValue)
2191 HRESULT Machine::setCPUProperty(CPUPropertyType_T aProperty, BOOL aValue)
2230 HRESULT Machine::getCPUIDLeaf(ULONG aId, ULONG *aValEax, ULONG *aValEbx, ULONG *aValEcx, ULONG *aValEdx)
2283 HRESULT Machine::setCPUIDLeaf(ULONG aId, ULONG aValEax, ULONG aValEbx, ULONG aValEcx, ULONG aValEdx)
2342 HRESULT Machine::removeCPUIDLeaf(ULONG aId)
2395 HRESULT Machine::removeAllCPUIDLeaves()
2415 HRESULT Machine::getHWVirtExProperty(HWVirtExPropertyType_T aProperty, BOOL *aValue)
2454 HRESULT Machine::setHWVirtExProperty(HWVirtExPropertyType_T aProperty, BOOL aValue)
2506 HRESULT Machine::getSnapshotFolder(com::Utf8Str &aSnapshotFolder)
2515 HRESULT Machine::setSnapshotFolder(const com::Utf8Str &aSnapshotFolder)
2553 HRESULT Machine::getMediumAttachments(std::vector<ComPtr<IMediumAttachment> > &aMediumAttachments)
2566 HRESULT Machine::getVRDEServer(ComPtr<IVRDEServer> &aVRDEServer)
2577 HRESULT Machine::getAudioAdapter(ComPtr<IAudioAdapter> &aAudioAdapter)
2586 HRESULT Machine::getUSBControllers(std::vector<ComPtr<IUSBController> > &aUSBControllers)
2615 HRESULT Machine::getUSBDeviceFilters(ComPtr<IUSBDeviceFilters> &aUSBDeviceFilters)
2639 HRESULT Machine::getSettingsFilePath(com::Utf8Str &aSettingsFilePath)
2648 HRESULT Machine::getSettingsModified(BOOL *aSettingsModified)
2664 HRESULT Machine::getSessionState(SessionState_T *aSessionState)
2674 HRESULT Machine::getSessionType(com::Utf8Str &aSessionType)
2683 HRESULT Machine::getSessionPID(ULONG *aSessionPID)
2692 HRESULT Machine::getState(MachineState_T *aState)
2702 HRESULT Machine::getLastStateChange(LONG64 *aLastStateChange)
2711 HRESULT Machine::getStateFilePath(com::Utf8Str &aStateFilePath)
2720 HRESULT Machine::getLogFolder(com::Utf8Str &aLogFolder)
2729 HRESULT Machine::getCurrentSnapshot(ComPtr<ISnapshot> &aCurrentSnapshot)
2738 HRESULT Machine::getSnapshotCount(ULONG *aSnapshotCount)
2749 HRESULT Machine::getCurrentStateModified(BOOL *aCurrentStateModified)
2764 HRESULT Machine::getSharedFolders(std::vector<ComPtr<ISharedFolder> > &aSharedFolders)
2777 HRESULT Machine::getClipboardMode(ClipboardMode_T *aClipboardMode)
2786 HRESULT Machine::setClipboardMode(ClipboardMode_T aClipboardMode)
2808 HRESULT Machine::getDnDMode(DnDMode_T *aDnDMode)
2817 HRESULT Machine::setDnDMode(DnDMode_T aDnDMode)
2840 HRESULT Machine::getGuestPropertyNotificationPatterns(com::Utf8Str &aGuestPropertyNotificationPatterns)
2856 HRESULT Machine::setGuestPropertyNotificationPatterns(const com::Utf8Str &aGuestPropertyNotificationPatterns)
2869 HRESULT Machine::getStorageControllers(std::vector<ComPtr<IStorageController> > &aStorageControllers)
2880 HRESULT Machine::getTeleporterEnabled(BOOL *aEnabled)
2889 HRESULT Machine::setTeleporterEnabled(BOOL aTeleporterEnabled)
2915 HRESULT Machine::getTeleporterPort(ULONG *aTeleporterPort)
2924 HRESULT Machine::setTeleporterPort(ULONG aTeleporterPort)
2941 HRESULT Machine::getTeleporterAddress(com::Utf8Str &aTeleporterAddress)
2950 HRESULT Machine::setTeleporterAddress(const com::Utf8Str &aTeleporterAddress)
2964 HRESULT Machine::getTeleporterPassword(com::Utf8Str &aTeleporterPassword)
2972 HRESULT Machine::setTeleporterPassword(const com::Utf8Str &aTeleporterPassword)
3001 HRESULT Machine::getFaultToleranceState(FaultToleranceState_T *aFaultToleranceState)
3009 HRESULT Machine::setFaultToleranceState(FaultToleranceState_T aFaultToleranceState)
3023 HRESULT Machine::getFaultToleranceAddress(com::Utf8Str &aFaultToleranceAddress)
3031 HRESULT Machine::setFaultToleranceAddress(const com::Utf8Str &aFaultToleranceAddress)
3045 HRESULT Machine::getFaultTolerancePort(ULONG *aFaultTolerancePort)
3053 HRESULT Machine::setFaultTolerancePort(ULONG aFaultTolerancePort)
3067 HRESULT Machine::getFaultTolerancePassword(com::Utf8Str &aFaultTolerancePassword)
3076 HRESULT Machine::setFaultTolerancePassword(const com::Utf8Str &aFaultTolerancePassword)
3091 HRESULT Machine::getFaultToleranceSyncInterval(ULONG *aFaultToleranceSyncInterval)
3099 HRESULT Machine::setFaultToleranceSyncInterval(ULONG aFaultToleranceSyncInterval)
3113 HRESULT Machine::getRTCUseUTC(BOOL *aRTCUseUTC)
3122 HRESULT Machine::setRTCUseUTC(BOOL aRTCUseUTC)
3148 HRESULT Machine::getIOCacheEnabled(BOOL *aIOCacheEnabled)
3157 HRESULT Machine::setIOCacheEnabled(BOOL aIOCacheEnabled)
3171 HRESULT Machine::getIOCacheSize(ULONG *aIOCacheSize)
3180 HRESULT Machine::setIOCacheSize(ULONG aIOCacheSize)
3198 HRESULT Machine::lockMachine(const ComPtr<ISession> &aSession,
3378 * lock while still holding the Machine lock in alock so that a deadlock
3406 * Machine/SessionMachine methods. Releasing the lock here is quite safe
3516 /* associate the SessionMachine with this Machine */
3554 HRESULT Machine::launchVMProcess(const ComPtr<ISession> &aSession,
3677 HRESULT Machine::setBootOrder(ULONG aPosition, DeviceType_T aDevice)
3700 HRESULT Machine::getBootOrder(ULONG aPosition, DeviceType_T *aDevice)
3714 HRESULT Machine::attachDevice(const com::Utf8Str &aName,
4288 HRESULT Machine::detachDevice(const com::Utf8Str &aName, LONG aControllerPort,
4371 HRESULT Machine::passthroughDevice(const com::Utf8Str &aName, LONG aControllerPort,
4413 HRESULT Machine::temporaryEjectDevice(const com::Utf8Str &aName, LONG aControllerPort,
4449 HRESULT Machine::nonRotationalDevice(const com::Utf8Str &aName, LONG aControllerPort,
4492 HRESULT Machine::setAutoDiscardForDevice(const com::Utf8Str &aName, LONG aControllerPort,
4535 HRESULT Machine::setHotPluggableForDevice(const com::Utf8Str &aName, LONG aControllerPort,
4593 HRESULT Machine::setNoBandwidthGroupForDevice(const com::Utf8Str &aName, LONG aControllerPort,
4605 HRESULT Machine::setBandwidthGroupForDevice(const com::Utf8Str &aName, LONG aControllerPort,
4662 HRESULT Machine::attachDeviceWithoutMedium(const com::Utf8Str &aName,
4678 HRESULT Machine::unmountMedium(const com::Utf8Str &aName,
4692 HRESULT Machine::mountMedium(const com::Utf8Str &aName,
4812 HRESULT Machine::getMedium(const com::Utf8Str &aName,
4838 HRESULT Machine::getSerialPort(ULONG aSlot, ComPtr<ISerialPort> &aPort)
4848 HRESULT Machine::getParallelPort(ULONG aSlot, ComPtr<IParallelPort> &aPort)
4857 HRESULT Machine::getNetworkAdapter(ULONG aSlot, ComPtr<INetworkAdapter> &aAdapter)
4873 HRESULT Machine::getExtraDataKeys(std::vector<com::Utf8Str> &aKeys)
4890 HRESULT Machine::getExtraData(const com::Utf8Str &aKey,
4910 HRESULT Machine::setExtraData(const com::Utf8Str &aKey, const com::Utf8Str &aValue)
4995 HRESULT Machine::setSettingsFilePath(const com::Utf8Str &aSettingsFilePath, ComPtr<IProgress> &aProgress)
5002 HRESULT Machine::saveSettings()
5028 HRESULT Machine::discardSettings()
5045 HRESULT Machine::unregister(CleanupMode_T aCleanupMode,
5135 // calls Machine::detachAllMedia() for the snapshot machine, recursing
5182 struct Machine::DeleteConfigTask
5183 : public Machine::Task
5185 DeleteConfigTask(Machine *m,
5213 void Machine::i_deleteConfigHandler(DeleteConfigTask &task)
5290 // delete the files pushed on the task list by Machine::Delete()
5390 HRESULT Machine::deleteConfig(const std::vector<ComPtr<IMedium> > &aMedia, ComPtr<IProgress> &aProgress)
5448 HRESULT Machine::findSnapshot(const com::Utf8Str &aNameOrId, ComPtr<ISnapshot> &aSnapshot)
5471 HRESULT Machine::createSharedFolder(const com::Utf8Str &aName, const com::Utf8Str &aHostPath, BOOL aWritable, BOOL aAutomount)
5505 HRESULT Machine::removeSharedFolder(const com::Utf8Str &aName)
5527 HRESULT Machine::canShowConsoleWindow(BOOL *aCanShow)
5538 tr("Machine is not locked for session (session state: %s)"),
5553 HRESULT Machine::showConsoleWindow(LONG64 *aWinId)
5561 tr("Machine is not locked for session (session state: %s)"),
5580 HRESULT Machine::i_getGuestPropertyFromService(const com::Utf8Str &aName,
5608 HRESULT Machine::i_getGuestPropertyFromVM(const com::Utf8Str &aName,
5639 HRESULT Machine::getGuestProperty(const com::Utf8Str &aName,
5657 HRESULT Machine::getGuestPropertyValue(const com::Utf8Str &aProperty, com::Utf8Str &aValue)
5665 HRESULT Machine::getGuestPropertyTimestamp(const com::Utf8Str &aProperty, LONG64 *aValue)
5677 HRESULT Machine::i_setGuestPropertyToService(const com::Utf8Str &aName, const com::Utf8Str &aValue,
5770 HRESULT Machine::i_setGuestPropertyToVM(const com::Utf8Str &aName, const com::Utf8Str &aValue,
5803 HRESULT Machine::setGuestProperty(const com::Utf8Str &aProperty, const com::Utf8Str &aValue,
5817 HRESULT Machine::setGuestPropertyValue(const com::Utf8Str &aProperty, const com::Utf8Str &aValue)
5822 HRESULT Machine::deleteGuestProperty(const com::Utf8Str &aName)
5839 HRESULT Machine::i_enumerateGuestPropertiesInService(const com::Utf8Str &aPatterns,
5901 HRESULT Machine::i_enumerateGuestPropertiesOnVM(const com::Utf8Str &aPatterns,
5945 HRESULT Machine::enumerateGuestProperties(const com::Utf8Str &aPatterns,
5964 HRESULT Machine::getMediumAttachmentsOfController(const com::Utf8Str &aName,
5980 HRESULT Machine::getMediumAttachment(const com::Utf8Str &aName,
6007 HRESULT Machine::addStorageController(const com::Utf8Str &aName,
6069 HRESULT Machine::getStorageControllerByName(const com::Utf8Str &aName,
6083 HRESULT Machine::getStorageControllerByInstance(ULONG aInstance,
6104 HRESULT Machine::setStorageControllerBootable(const com::Utf8Str &aName, BOOL aBootable)
6153 HRESULT Machine::removeStorageController(const com::Utf8Str &aName)
6204 HRESULT Machine::addUSBController(const com::Utf8Str &aName, USBControllerType_T aType,
6256 HRESULT Machine::getUSBControllerByName(const com::Utf8Str &aName, ComPtr<IUSBController> &aController)
6269 HRESULT Machine::getUSBControllerCountByType(USBControllerType_T aType,
6287 HRESULT Machine::removeUSBController(const com::Utf8Str &aName)
6313 HRESULT Machine::querySavedGuestScreenInfo(ULONG aScreenId,
6353 HRESULT Machine::querySavedThumbnailSize(ULONG aScreenId, ULONG *aSize, ULONG *aWidth, ULONG *aHeight)
6381 HRESULT Machine::readSavedThumbnailToArray(ULONG aScreenId, BitmapFormat_T aBitmapFormat,
6475 HRESULT Machine::querySavedScreenshotPNGSize(ULONG aScreenId, ULONG *aSize, ULONG *aWidth, ULONG *aHeight)
6503 HRESULT Machine::readSavedScreenshotPNGToArray(ULONG aScreenId, ULONG *aWidth, ULONG *aHeight, std::vector<BYTE> &aData)
6534 HRESULT Machine::hotPlugCPU(ULONG aCpu)
6564 HRESULT Machine::hotUnplugCPU(ULONG aCpu)
6601 HRESULT Machine::getCPUStatus(ULONG aCpu, BOOL *aAttached)
6622 HRESULT Machine::queryLogFilename(ULONG aIdx, com::Utf8Str &aFilename)
6634 HRESULT Machine::readLog(ULONG aIdx, LONG64 aOffset, LONG64 aSize, std::vector<BYTE> &aData)
6684 HRESULT Machine::attachHostPCIDevice(LONG aHostAddress, LONG aDesiredGuestAddress, BOOL /* aTryToUnbind */)
6736 HRESULT Machine::detachHostPCIDevice(LONG aHostAddress)
6787 HRESULT Machine::getPCIDeviceAssignments(std::vector<ComPtr<IPCIDeviceAttachment> > &aPCIDeviceAssignments)
6802 HRESULT Machine::getBandwidthControl(ComPtr<IBandwidthControl> &aBandwidthControl)
6809 HRESULT Machine::getTracingEnabled(BOOL *aTracingEnabled)
6818 HRESULT Machine::setTracingEnabled(BOOL aTracingEnabled)
6834 HRESULT Machine::getTracingConfig(com::Utf8Str &aTracingConfig)
6841 HRESULT Machine::setTracingConfig(const com::Utf8Str &aTracingConfig)
6858 HRESULT Machine::getAllowTracingToAccessVM(BOOL *aAllowTracingToAccessVM)
6867 HRESULT Machine::setAllowTracingToAccessVM(BOOL aAllowTracingToAccessVM)
6883 HRESULT Machine::getAutostartEnabled(BOOL *aAutostartEnabled)
6892 HRESULT Machine::setAutostartEnabled(BOOL aAutostartEnabled)
6932 HRESULT Machine::getAutostartDelay(ULONG *aAutostartDelay)
6941 HRESULT Machine::setAutostartDelay(ULONG aAutostartDelay)
6957 HRESULT Machine::getAutostopType(AutostopType_T *aAutostopType)
6966 HRESULT Machine::setAutostopType(AutostopType_T aAutostopType)
7005 HRESULT Machine::getDefaultFrontend(com::Utf8Str &aDefaultFrontend)
7014 HRESULT Machine::setDefaultFrontend(const com::Utf8Str &aDefaultFrontend)
7030 HRESULT Machine::getIcon(std::vector<BYTE> &aIcon)
7040 HRESULT Machine::setIcon(const std::vector<BYTE> &aIcon)
7056 HRESULT Machine::getUSBProxyAvailable(BOOL *aUSBProxyAvailable)
7066 HRESULT Machine::cloneTo(const ComPtr<IMachine> &aTarget, CloneMode_T aMode, const std::vector<CloneOptions_T> &aOptions,
7093 MachineCloneVM *pWorker = new MachineCloneVM(this, static_cast<Machine*>(pTarget), aMode, optList);
7104 HRESULT Machine::saveState(ComPtr<IProgress> &aProgress)
7116 HRESULT Machine::adoptSavedState(const com::Utf8Str &aSavedStateFile)
7128 HRESULT Machine::discardSavedState(BOOL aFRemoveFile)
7148 void Machine::i_setModified(uint32_t fl, bool fAllowStateModification /* = true */)
7161 void Machine::i_setModifiedLock(uint32_t fModification, bool fAllowStateModification /* = true */)
7174 HRESULT Machine::i_saveRegistryEntry(settings::MachineRegistryEntry &data)
7198 int Machine::i_calculateFullPath(const Utf8Str &strPath, Utf8Str &aResult)
7227 void Machine::i_copyPathRelativeToMachine(const Utf8Str &strSource,
7257 void Machine::i_getLogFolder(Utf8Str &aLogFolder)
7295 Utf8Str Machine::i_queryLogFilename(ULONG idx) /** @todo r=bird: Misnamed. Should be i_getLogFilename as it cannot fail.
7314 Utf8Str Machine::i_getStartupLogFilename(void)
7342 void Machine::i_composeSavedStateFilename(Utf8Str &strStateFilePath)
7366 void Machine::i_getDefaultVideoCaptureFile(Utf8Str &strFile)
7381 bool Machine::i_isUSBControllerPresent()
7395 HRESULT Machine::i_launchVMProcess(IInternalSessionControl *aControl,
7697 * so that the Machine will never get out of the Spawning session state.
7757 bool Machine::i_isSessionOpen(ComObjPtr<SessionMachine> &aMachine,
7793 bool Machine::i_isSessionSpawning()
7824 bool Machine::i_checkForSpawnFailure()
7924 HRESULT Machine::i_prepareRegister()
8001 HRESULT Machine::i_addStateDependency(StateDependency aDepType /* = AnyStateDep */,
8025 tr("Machine state change is in progress. Please retry the operation later."));
8045 void Machine::i_releaseStateDependency()
8067 Utf8Str Machine::i_getExtraData(const Utf8Str &strKey)
8096 * and not saved). It is useful to call this method from Machine setters
8108 * to call this method from Machine setters before performing any changes to
8118 * @note Non Machine based classes should use #addStateDependency() and
8125 HRESULT Machine::i_checkStateDependency(StateDependency aDepType)
8211 HRESULT Machine::initDataAndChildObjects()
8285 void Machine::uninitDataAndChildObjects()
8350 /* Deassociate media (only when a real Machine or a SnapshotMachine
8352 * Machine media). This is necessary for a clean re-initialization of
8354 * that in case of normal Machine or SnapshotMachine uninitialization (as
8401 * Returns a pointer to the Machine object for this machine that acts like a
8404 * For primary Machine objects and for SnapshotMachine objects, returns this
8408 Machine* Machine::i_getMachine()
8411 return (Machine*)mPeer;
8428 void Machine::i_ensureNoStateDependencies()
8468 HRESULT Machine::i_setMachineState(MachineState_T aMachineState)
8512 HRESULT Machine::i_findSharedFolder(const Utf8Str &aName,
8556 * @param config Machine settings from XML.
8561 HRESULT Machine::i_loadMachineDataFromSettings(const settings::MachineConfigFile &config,
8567 // Decode the Icon overide data from config userdata and set onto Machine.
8702 HRESULT Machine::i_loadSnapshot(const settings::Snapshot &data,
8782 HRESULT Machine::i_loadHardware(const settings::Hardware &data, const settings::Debugging *pDbg,
9080 * Called from Machine::loadHardware() to load the debugging settings of the
9085 HRESULT Machine::i_loadDebugging(const settings::Debugging *pDbg)
9096 * @param puuidRegistry media registry ID to set media to or NULL; see Machine::i_loadMachineDataFromSettings()
9100 HRESULT Machine::i_loadStorageControllers(const settings::Storage &data,
9168 * @param puuidRegistry media registry ID to set media to or NULL; see Machine::i_loadMachineDataFromSettings()
9172 HRESULT Machine::i_loadStorageDevices(StorageController *aStorageController,
9404 HRESULT Machine::i_findSnapshotById(const Guid &aId,
9441 HRESULT Machine::i_findSnapshotByName(const Utf8Str &strName,
9477 HRESULT Machine::i_getStorageControllerByName(const Utf8Str &aName,
9508 HRESULT Machine::i_getUSBControllerByName(const Utf8Str &aName,
9537 ULONG Machine::i_getUSBControllerCountByType(USBControllerType_T enmType)
9552 HRESULT Machine::i_getMediumAttachmentsOfController(const Utf8Str &aName,
9592 HRESULT Machine::i_prepareSaveSettings(bool *pfNeedsGlobalSaveSettings)
9831 HRESULT Machine::i_saveSettings(bool *pfNeedsGlobalSaveSettings,
9928 * mutable Machine instances are always not registered (i.e. private
9947 * -- Machine::i_saveSettings(), during the regular XML writing;
9951 * into a <vbox:Machine> tag.
9965 void Machine::i_copyMachineDataToSettings(settings::MachineConfigFile &config)
9975 // Encode the Icon Override data from Machine and store on config userdata.
10050 * from Machine::buildMachineXML() and SessionMachine::deleteSnapshotHandler().
10054 HRESULT Machine::i_saveAllSnapshots(settings::MachineConfigFile &config)
10102 HRESULT Machine::i_saveHardware(settings::Hardware &data, settings::Debugging *pDbg,
10240 * chipset type. Since Machine::commit() hasn't been called there
10386 HRESULT Machine::i_saveStorageControllers(settings::Storage &data)
10440 HRESULT Machine::i_saveStorageDevices(ComObjPtr<StorageController> aStorageController,
10490 HRESULT Machine::i_saveStateSettings(int aFlags)
10550 void Machine::i_addMediumToRegistry(ComObjPtr<Medium> &pMedium)
10622 HRESULT Machine::i_createImplicitDiffs(IProgress *aProgress,
10845 HRESULT Machine::i_deleteImplicitDiffs(bool aOnline)
11078 MediumAttachment* Machine::i_findAttachment(const MediaData::AttachmentList &ll,
11104 MediumAttachment* Machine::i_findAttachment(const MediaData::AttachmentList &ll,
11129 MediumAttachment* Machine::i_findAttachment(const MediaData::AttachmentList &ll,
11144 * Main implementation for Machine::DetachDevice. This also gets called
11145 * from Machine::prepareUnregister() so it has been taken out for simplicity.
11148 * @param writeLock Machine write lock which the caller must have locked once. This may be released temporarily in here.
11153 HRESULT Machine::i_detachDevice(MediumAttachment *pAttach,
11217 * This gets called from Machine::Unregister, both for the actual Machine and
11223 * @param writeLock Machine lock from top-level caller; this gets passed to i_detachDevice.
11224 * @param pSnapshot Must be NULL when called for a "real" Machine or a snapshot object if called for a SnapshotMachine.
11231 HRESULT Machine::i_detachAllMedia(AutoWriteLock &writeLock,
11316 void Machine::i_commitMedia(bool aOnline /*= false*/)
11350 /** @todo convert all this Machine-based voodoo to MediumAttachment
11489 void Machine::i_rollbackMedia()
11535 /** @todo convert all this Machine-based voodoo to MediumAttachment
11553 bool Machine::i_isInOwnDir(Utf8Str *aSettingsDir /* = NULL */) const
11580 void Machine::i_rollback(bool aNotify)
11714 ComObjPtr<Machine> that = this;
11753 void Machine::i_commit()
11999 void Machine::i_copyFrom(Machine *aThat)
12069 bool Machine::i_isControllerHotplugCapable(StorageControllerType_T enmCtrlType)
12084 void Machine::i_getDiskList(MediaList &list)
12104 void Machine::i_registerMetrics(PerformanceCollector *aCollector, Machine *aMachine, RTPROCESS pid)
12264 void Machine::i_unregisterMetrics(PerformanceCollector *aCollector, Machine *aMachine)
12309 * @note Must be called only by Machine::LockMachine() from its own write lock.
12311 HRESULT SessionMachine::init(Machine *aMachine)
12344 /* memorize the peer Machine */
12517 * It is safe to call Machine::i_unregisterMetrics() here because
12684 * with the primary Machine instance (mPeer).
12746 : public Machine::Task
12760 ((SessionMachine *)(Machine *)m_pMachine)->i_saveStateHandler(*this);
13219 * Machine/SessionMachine lock).
13657 Machine::ClientToken *SessionMachine::i_getClientToken()
14168 * Note: This checks mSSData->strStateFilePath, which is shared by the Machine and SessionMachine
14578 * Static Machine method that can get passed to RTThreadCreate to
14579 * have a thread started for a Task. See Machine::Task.
14581 /* static */ DECLCALLBACK(int) Machine::taskHandler(RTTHREAD /* thread */, void *pvUser)
14596 HRESULT Machine::i_setErrorStatic(HRESULT aResultCode, const char *pcszMsg, ...)
14611 HRESULT Machine::updateState(MachineState_T aState)
14617 HRESULT Machine::beginPowerUp(const ComPtr<IProgress> &aProgress)
14623 HRESULT Machine::endPowerUp(LONG aResult)
14629 HRESULT Machine::beginPoweringDown(ComPtr<IProgress> &aProgress)
14635 HRESULT Machine::endPoweringDown(LONG aResult,
14643 HRESULT Machine::runUSBDeviceFilters(const ComPtr<IUSBDevice> &aDevice,
14654 HRESULT Machine::captureUSBDevice(const com::Guid &aId, const com::Utf8Str &aCaptureFilename)
14660 HRESULT Machine::detachUSBDevice(const com::Guid &aId,
14668 HRESULT Machine::autoCaptureUSBDevices()
14673 HRESULT Machine::detachAllUSBDevices(BOOL aDone)
14679 HRESULT Machine::onSessionEnd(const ComPtr<ISession> &aSession,
14687 HRESULT Machine::finishOnlineMergeMedium()
14692 HRESULT Machine::pullGuestProperties(std::vector<com::Utf8Str> &aNames,
14704 HRESULT Machine::pushGuestProperty(const com::Utf8Str &aName,
14716 HRESULT Machine::lockMedia()
14721 HRESULT Machine::unlockMedia()
14726 HRESULT Machine::ejectMedium(const ComPtr<IMediumAttachment> &aAttachment,
14734 HRESULT Machine::reportVmStatistics(ULONG aValidStats,