Lines Matching defs:config

110     /* Contains hints on what has changed when the user is using the VM (config
111 * changes, running the VM, ...). This is used to decide if a config needs
284 * be relative to the VirtualBox config directory).
317 // create an empty machine config
405 * be relative to the VirtualBox config directory).
449 // tries to register an already known VM config again
456 tr("Trying to open a VM config '%s' which has the same UUID as an existing virtual machine"),
460 // use UUID from machine config
511 * Initializes a new instance from a machine config that is already in memory
513 * config is ignored and we always generate a fresh one.
515 * @param strName Name for the new machine; this overrides what is specified in config and is used
517 * @param config Machine configuration loaded and parsed from XML.
523 const settings::MachineConfigFile &config)
552 // create empty machine config for instance data
555 // generate fresh UUID, ignore machine config
558 rc = i_loadMachineDataFromSettings(config,
584 - * pinpointing the issue with the VM config. */
627 /* memorize the config file name (as provided) */
668 /* try to delete the config file, as otherwise the creation
2656 // this is a new machine, and no config file exists yet:
3818 // For DVDs it's not written to the config file, so needs no global config
3820 // by older VirtualBox version, so needs no global config version bump either.
3828 // can reside in the global config file (for pre-4.0 media); we would therefore
3829 // possibly need to bump the global config version. We don't want to do that though
5180 * Task record for deleting a machine config.
7244 // triggering default settings for not present config attributes.
7652 "--vrde", "config",
7953 // no config file exists yet, create it by calling i_saveSettings() too.
7964 /* more config checking goes here */
8549 * -- During OVF import, when a machine config has been constructed from an
8551 * ensure that the media listed as attachments in the config (which have
8556 * @param config Machine settings from XML.
8558 * for each attached medium in the config.
8561 HRESULT Machine::i_loadMachineDataFromSettings(const settings::MachineConfigFile &config,
8565 mUserData->s = config.machineUserData;
8567 // Decode the Icon overide data from config userdata and set onto Machine.
8569 const char* pszStr = config.machineUserData.ovIcon.c_str();
8596 if (config.strStateFile.isEmpty())
8600 Utf8Str stateFilePathFull(config.strStateFile);
8605 config.strStateFile.c_str(),
8611 rc = COMSETTER(SnapshotFolder)(Bstr(config.machineUserData.strSnapshotFolder).raw());
8614 /* Copy the extra data items (Not in any case config is already the same as
8617 mData->pMachineConfigFile->mapExtraDataItems = config.mapExtraDataItems;
8620 mData->mCurrentStateModified = config.fCurrentStateModified;
8622 mData->mLastStateChange = config.timeLastStateChange;
8632 if (config.canHaveOwnMediaRegistry())
8638 config.mediaRegistry,
8645 if ((cRootSnapshots = config.llFirstSnapshot.size()))
8650 const settings::Snapshot &snap = config.llFirstSnapshot.front();
8653 config.uuidCurrentSnapshot,
8659 rc = i_loadHardware(config.hardwareMachine, &config.debugging, &config.autostart);
8663 rc = i_loadStorageControllers(config.storageMachine,
8676 if (config.fAborted)
9770 /* create a virgin config file */
9883 // previously stored in the config file; this invokes MachineConfigFile::operator==
9915 // restore old config
9943 * from the previous machine config file in the instance data, if any.
9965 void Machine::i_copyMachineDataToSettings(settings::MachineConfigFile &config)
9968 config.mapExtraDataItems = mData->pMachineConfigFile->mapExtraDataItems;
9970 config.uuid = mData->mUuid;
9973 config.machineUserData = mUserData->s;
9975 // Encode the Icon Override data from Machine and store on config userdata.
9990 config.machineUserData.ovIcon = strIconData;
9993 config.machineUserData.ovIcon.setNull();
10008 i_copyPathRelativeToMachine(mSSData->strStateFilePath, config.strStateFile);
10013 config.strStateFile.setNull();
10017 config.uuidCurrentSnapshot = mData->mCurrentSnapshot->i_getId();
10019 config.uuidCurrentSnapshot.clear();
10021 config.timeLastStateChange = mData->mLastStateChange;
10022 config.fAborted = (mData->mMachineState == MachineState_Aborted);
10023 /// @todo Live Migration: config.fTeleported = (mData->mMachineState == MachineState_Teleported);
10025 HRESULT rc = i_saveHardware(config.hardwareMachine, &config.debugging, &config.autostart);
10028 rc = i_saveStorageControllers(config.storageMachine);
10032 if (config.canHaveOwnMediaRegistry())
10037 mParent->i_saveMediaRegistry(config.mediaRegistry,
10044 rc = i_saveAllSnapshots(config);
10049 * Saves all snapshots of the machine into the given machine config file. Called
10051 * @param config
10054 HRESULT Machine::i_saveAllSnapshots(settings::MachineConfigFile &config)
10062 config.llFirstSnapshot.clear();
10067 config.llFirstSnapshot.push_back(settings::g_SnapshotEmpty);
10071 rc = mData->mFirstSnapshot->i_saveSnapshot(config.llFirstSnapshot.back());
10096 * @param data Reference to the settings object for the hardware config.
10097 * @param pDbg Pointer to the settings object for the debugging config
10099 * @param pAutostart Pointer to the settings object for the autostart config
10873 * This is important e.g. when loading a VM config, because there should be
10876 * cleanup if the config makes no sense), as they take such events as an
10877 * indication that the VM is alive, and they would force the VM config to