Searched defs:machine (Results 1 - 25 of 68) sorted by relevance

123

/vbox/src/VBox/Frontends/VirtualBox/src/
H A DVBoxTakeSnapshotDlg.cpp43 VBoxTakeSnapshotDlg::VBoxTakeSnapshotDlg(QWidget *pParent, const CMachine &machine) argument
57 /* Check if machine have immutable attachments */
60 if (machine.GetState() == KMachineState_Paused)
62 foreach (const CMediumAttachment &attachment, machine.GetMediumAttachments())
72 mLbInfo->setText(tr("Warning: You are taking a snapshot of a running machine which has %n immutable image(s) "
H A DVBoxSnapshotDetailsDlg.cpp61 CMachine machine = mSnapshot.GetMachine(); local
76 QVector <BYTE> thumbData = machine.ReadSavedThumbnailToArray (0, KBitmapFormat_BGR0, width, height);
78 QVector <BYTE> screenData = machine.ReadSavedScreenshotPNGToArray (0, width, height);
112 /* We need a session when we manipulate the snapshot data of a machine. */
132 CMachine machine = mSnapshot.GetMachine();
134 setWindowTitle (tr ("Details of %1 (%2)").arg (mSnapshot.GetName()).arg (machine.GetName()));
138 mTeDetails->setText (vboxGlobal().detailsReport (machine, false /* with links? */));
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/
H A DUIWizardExportAppPageBasic4.cpp52 /* Iterate over all the selected machine ids: */
56 /* Get the machine with the uuid: */
57 CMachine machine = vbox.FindMachine(uuid); local
58 fResult = machine.isOk();
62 CVirtualSystemDescription vsd = machine.ExportTo(*pAppliance, qobject_cast<UIWizardExportApp*>(wizardImp())->uri());
63 fResult = machine.isOk();
66 msgCenter().cannotExportAppliance(machine, pAppliance->GetPath(), thisImp());
H A DUIWizardExportAppPageBasic1.cpp47 foreach (const CMachine &machine, vboxGlobal().virtualBox().GetMachines()) argument
54 if (machine.GetAccessible())
56 pixIcon = vboxGlobal().vmGuestOSTypeIcon(machine.GetOSTypeId()).scaled(16, 16, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
57 strName = machine.GetName();
58 strUuid = machine.GetId();
59 fEnabled = machine.GetSessionState() == KSessionState_Unlocked;
60 fInSaveState = machine.GetState() == KMachineState_Saved;
64 QString settingsFile = machine.GetSettingsFilePath();
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/
H A DUIWizardCloneVM.cpp37 UIWizardCloneVM::UIWizardCloneVM(QWidget *pParent, const CMachine &machine, CSnapshot snapshot /* = CSnapshot() */) argument
39 , m_machine(machine)
67 /* Prepare machine for cloning: */
70 /* If the user like to create a linked clone from the current machine, we
73 * we could use the new snapshot machine for cloning. */
81 /* Prepare machine: */
82 CMachine machine = session.GetMachine();
86 CProgress progress = machine.TakeSnapshot(strSnapshotName, "", true);
88 if (machine.isOk())
101 msgCenter().cannotTakeSnapshot(machine, m_machin
[all...]
/vbox/src/VBox/Main/testcase/
H A DtstVBoxAPIWin.cpp5 * COM API for machine management on Windows.
105 /* Try to find a machine that doesn't exist */
106 IMachine *machine = NULL; local
109 rc = virtualBox->FindMachine(machineName, &machine);
138 SAFE_RELEASE(machine);
150 IMachine *machine = NULL; local
153 rc = virtualBox->FindMachine(machineName, &machine);
191 rc = machine->get_Id(&guid); /* Get the GUID of the machine. */
194 printf("Error retrieving machine I
[all...]
H A DtstAPI.cpp58 HRESULT readAndChangeMachineSettings(IMachine *machine, IMachine *readonlyMachine = 0) argument
63 RTPrintf("Getting machine name...\n");
64 CHECK_ERROR_RET(machine, COMGETTER(Name)(name.asOutParam()), rc);
67 RTPrintf("Getting machine GUID...\n");
69 CHECK_ERROR(machine, COMGETTER(Id)(guid.asOutParam()));
78 CHECK_ERROR_RET(machine, COMGETTER(MemorySize)(&memorySize), rc);
82 RTPrintf("Getting machine state...\n");
83 CHECK_ERROR_RET(machine, COMGETTER(State)(&machineState), rc);
88 CHECK_ERROR(machine, COMGETTER(SettingsModified)(&modified));
94 CHECK_ERROR(machine, COMSETTE
[all...]
H A DtstVBoxAPI.cpp197 RTTestFailed(g_hTest, "%d: IVirtualBox::machines failed. No created machine found", __LINE__);
343 ComPtr<IMachine> machine; local
344 CHECK_ERROR_RET(pVBox, FindMachine(Bstr(tstMachineName).raw(), machine.asOutParam()), FALSE);
346 CHECK_ERROR_RET(machine, Unregister(CleanupMode_DetachAllReturnHardDisksOnly,
349 CHECK_ERROR_RET(machine, DeleteConfig(ComSafeArrayAsInParam(media), progress.asOutParam()), FALSE);
H A DtstVBoxAPIXPCOM.cpp4 * XPCOM API for machine management.
116 IMachine *machine = machines[i]; local
117 if (machine)
120 machine->GetAccessible(&isAccessible);
125 machine->GetName(getter_Copies(machineName));
136 machine->GetId(getter_Copies(iid));
144 machine->GetSettingsFilePath(getter_Copies(configFile));
150 machine->GetMemorySize(&memorySize);
154 machine->GetOSTypeId(getter_Copies(typeId));
166 machine
185 nsCOMPtr<IMachine> machine; local
[all...]
/vbox/src/VBox/HostServices/auth/simple/
H A DVBoxAuthSimple.cpp105 ComPtr<IMachine> machine; local
106 virtualBox->FindMachine(Bstr(uuid).raw(), machine.asOutParam());
107 if (machine)
108 machine->GetExtraData(key.raw(), password.asOutParam());
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/
H A DUIMachine.cpp60 CMachine machine = session.GetMachine();
62 CSnapshot snapshot = machine.GetCurrentSnapshot();
65 CProgress progress = machine.RestoreSnapshot(snapshot);
66 if (!machine.isOk())
67 return msgCenter().cannotRestoreSnapshot(machine, snapshot.GetName(), machine.GetName());
70 msgCenter().showModalProgressDialog(progress, machine.GetName(), ":/progress_snapshot_discard_90px.png");
72 return msgCenter().cannotRestoreSnapshot(progress, snapshot.GetName(), machine.GetName());
84 /* Get corresponding machine: */
85 CMachine machine local
[all...]
H A DUIMultiScreenLayout.cpp228 CMachine machine = m_pMachineLogic->session().GetMachine(); local
231 quint64 availBits = machine.GetVRAMSize() * _1M * 8;
264 /* Get machine: */
265 CMachine machine = m_pMachineLogic->session().GetMachine(); local
269 for (uint iGuestScreen = 0; iGuestScreen < machine.GetMonitorCount(); ++iGuestScreen)
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/
H A DUIGDetailsSet.h55 const CMachine& machine() const { return m_machine; } function in class:UIGDetailsSet
H A DUIGDetailsElements.h46 UIGDetailsUpdateThread(const CMachine &machine);
51 const CMachine& machine() const { return m_machine; } function in class:UIGDetailsUpdateThread
99 UIGDetailsUpdateThreadGeneral(const CMachine &machine);
168 UIGDetailsUpdateThreadSystem(const CMachine &machine);
204 UIGDetailsUpdateThreadDisplay(const CMachine &machine);
240 UIGDetailsUpdateThreadStorage(const CMachine &machine);
276 UIGDetailsUpdateThreadAudio(const CMachine &machine);
312 UIGDetailsUpdateThreadNetwork(const CMachine &machine);
349 UIGDetailsUpdateThreadSerial(const CMachine &machine);
386 UIGDetailsUpdateThreadParallel(const CMachine &machine);
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/firstrun/
H A DUIWizardFirstRun.cpp36 UIWizardFirstRun::UIWizardFirstRun(QWidget *pParent, const CMachine &machine) argument
38 , m_machine(machine)
54 /* Determine machine 'OS type': */
131 bool UIWizardFirstRun::isBootHardDiskAttached(const CMachine &machine) argument
137 /* Determine machine 'OS type': */
138 const CGuestOSType &osType = vbox.GetGuestOSType(machine.GetOSTypeId());
143 const CMediumAttachmentVector &attachments = machine.GetMediumAttachments();
149 const CStorageController &controller = machine.GetStorageControllerByName(attachment.GetController());
/vbox/src/VBox/Frontends/VBoxAutostart/
H A DVBoxAutostartStart.cpp126 ComPtr<IMachine> machine; local
138 machine.asOutParam()));
140 CHECK_ERROR_BREAK(machine, LaunchVMProcess(g_pSession, Bstr("headless").raw(),
H A DVBoxAutostartStop.cpp53 ComPtr<IMachine> machine; local
86 CHECK_ERROR(console, COMGETTER(Machine)(machine.asOutParam()));
87 CHECK_ERROR(machine, SaveState(progress.asOutParam()));
96 CHECK_PROGRESS_ERROR(progress, ("Failed to save machine state"));
155 ComPtr<IMachine> machine; local
158 machine.asOutParam()));
160 CHECK_ERROR_BREAK(machine, COMGETTER(State)(&enmMachineState));
167 CHECK_ERROR_BREAK(machine, COMGETTER(State)(&enmMachineState));
178 CHECK_ERROR_BREAK(machine, LockMachine(g_pSession, LockType_Shared));
195 CHECK_PROGRESS_ERROR(progress, ("Failed to power off machine"));
[all...]
/vbox/src/VBox/Main/src-client/
H A DPCIRawDevImpl.cpp77 const ComPtr<IMachine>& machine = pConsole->i_machine(); local
80 HRESULT hrc = machine->COMGETTER(Parent)(vbox.asOutParam());
88 hrc = machine->COMGETTER(Id)(bstrId.asOutParam());
94 pda->init(machine, bstrName, uHostPCIAddress, uGuestPCIAddress, TRUE);
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Defirom.c63 * @ret machine Machine type
66 static void read_pe_info ( void *pe, uint16_t *machine, argument
79 *machine = nt->nt32.FileHeader.Machine;
80 switch ( *machine ) {
88 eprintf ( "Unrecognised machine type %04x\n", *machine );
/vbox/src/VBox/Frontends/VirtualBox/src/medium/
H A DUIMedium.cpp265 * to 'hidden' machines only, if at least one machine present: */
268 /* Prepare machine usage: */
273 /* Look for the corresponding machine: */
274 CMachine machine = vbox.FindMachine(strMachineID); local
277 * which belongs to not yet registered machine, like while creating VM clone.
279 if (machine.isNull())
281 /* Since we can't precisely check 'hidden' status for that machine in such case,
287 /* Finally we can precisely check if current machine is 'hidden': */
298 /* The medium is attached to the machine in the current
306 CSnapshot snapshot = machine
[all...]
H A DUIMediumEnumerator.cpp408 * @param strMachineID describes the machine we are calculating <i>usage</i> for.
431 * @param strMachineID describes the machine we are calculating <i>usage</i> for.
438 /* Search for corresponding machine: */
439 CMachine machine = vboxGlobal().virtualBox().FindMachine(strMachineID); local
440 if (machine.isNull())
442 /* Usually means the machine is already gone, not harmful. */
448 calculateActualUsage(machine.FindSnapshot(QString()), currentCMediums, currentCMediumIDs);
449 /* Calculate actual usage for current machine state: */
450 calculateActualUsage(machine, currentCMediums, currentCMediumIDs);
465 /* Calculate actual usage for passed snapshot machine
479 calculateActualUsage(const CMachine &machine, CMediumMap &currentCMediums, QStringList &currentCMediumIDs) const argument
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/selector/
H A DUIVMItem.h42 CMachine machine() const { return m_machine; } function in class:UIVMItem
89 /* Cached machine data (to minimize server requests) */
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/newvm/
H A DUIWizardNewVM.cpp72 /* Create virtual machine: */
225 CMachine machine = session.GetMachine(); local
233 machine.AttachDevice(strHDName, 0, 0, KDeviceType_HardDisk, medium);
234 if (!machine.isOk())
235 msgCenter().cannotAttachDevice(machine, UIMediumType_HardDisk, field("virtualDiskLocation").toString(),
240 machine.AttachDevice(strDVDName, 1, 0, KDeviceType_DVD, CMedium());
241 if (!machine.isOk())
242 msgCenter().cannotAttachDevice(machine, UIMediumType_DVD, QString(), StorageSlot(strDVDBus, 1, 0), this);
247 machine.AttachDevice(strFloppyName, 0, 0, KDeviceType_Floppy, CMedium());
248 if (!machine
[all...]
/vbox/src/VBox/Frontends/VBoxBalloonCtrl/
H A DVBoxWatchdogInternal.h56 * A module's payload for a machine entry.
85 /** A machine's internal entry.
86 * Primary key is the machine's UUID. */
89 ComPtr<IMachine> machine; member in struct:VBOXWATCHDOG_MACHINE
93 /** The group(s) this machine belongs to. */
102 /** Members of a VM group; currently only represented by the machine's UUID.
103 * Primary key is the machine's UUID. */
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageBandwidthControl.cpp307 ComPtr<IMachine> machine; local
315 /* try to find the given machine */
317 machine.asOutParam()), 1);
320 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
325 /* get the mutable session machine */
326 a->session->COMGETTER(Machine)(machine.asOutParam());
327 rc = machine->COMGETTER(BandwidthControl)(bwCtrl.asOutParam());
360 CHECK_ERROR(machine, SaveSettings());

Completed in 161 milliseconds

123