Lines Matching defs:vsysThis

147             const ovf::VirtualSystem &vsysThis = *it;
157 if (vsysThis.pelmVBoxMachine)
158 pNewDesc->i_importVBoxMachineXML(*vsysThis.pelmVBoxMachine);
163 Utf8StrFmt strCIMOSType("%RU32", (uint32_t)vsysThis.cimos);
165 if ( vsysThis.pelmVBoxMachine
170 else if (vsysThis.strTypeVBox.isNotEmpty()) // OVFReader has found vbox:OSType
171 strOsTypeVBox = vsysThis.strTypeVBox;
174 convertCIMOSType2VBoxOSType(strOsTypeVBox, vsysThis.cimos, vsysThis.strCimosDesc);
183 if ( vsysThis.pelmVBoxMachine
187 nameVBox = vsysThis.strName;
195 vsysThis.strName,
210 if (!vsysThis.strProduct.isEmpty())
213 vsysThis.strProduct,
214 vsysThis.strProduct);
217 if (!vsysThis.strVendor.isEmpty())
220 vsysThis.strVendor,
221 vsysThis.strVendor);
224 if (!vsysThis.strVersion.isEmpty())
227 vsysThis.strVersion,
228 vsysThis.strVersion);
231 if (!vsysThis.strProductUrl.isEmpty())
234 vsysThis.strProductUrl,
235 vsysThis.strProductUrl);
238 if (!vsysThis.strVendorUrl.isEmpty())
241 vsysThis.strVendorUrl,
242 vsysThis.strVendorUrl);
245 if (!vsysThis.strDescription.isEmpty())
248 vsysThis.strDescription,
249 vsysThis.strDescription);
252 if (!vsysThis.strLicenseText.isEmpty())
255 vsysThis.strLicenseText,
256 vsysThis.strLicenseText);
266 if ( vsysThis.pelmVBoxMachine
270 cpuCountVBox = vsysThis.cCPUs;
276 vsysThis.strName.c_str(), cpuCountVBox, SchemaDefs::MaxCPUCount);
279 if (vsysThis.cCPUs == 0)
283 Utf8StrFmt("%RU32", (uint32_t)vsysThis.cCPUs),
289 if ( vsysThis.pelmVBoxMachine
293 ullMemSizeVBox = vsysThis.ullMemorySize / _1M;
303 vsysThis.strName.c_str(), ullMemSizeVBox, MM_RAM_MIN_IN_MB, MM_RAM_MAX_IN_MB);
306 if (vsysThis.ullMemorySize == 0)
317 Utf8StrFmt("%RU64", (uint64_t)vsysThis.ullMemorySize),
324 if ( vsysThis.pelmVBoxMachine
330 else if (vsysThis.strSoundCardType.isNotEmpty())
335 strSoundCardOrig = vsysThis.strSoundCardType;
346 if ( ( vsysThis.pelmVBoxMachine
348 || vsysThis.fHasUsbController)
354 if (vsysThis.pelmVBoxMachine)
363 vsysThis.strName.c_str(), llNetworkAdapters.size(), maxNetworkAdapters);
384 else if (vsysThis.llEthernetAdapters.size() > 0)
386 size_t cEthernetAdapters = vsysThis.llEthernetAdapters.size();
393 vsysThis.strName.c_str(), cEthernetAdapters, maxNetworkAdapters);
404 for (itEA = vsysThis.llEthernetAdapters.begin();
405 itEA != vsysThis.llEthernetAdapters.end() && a < maxNetworkAdapters;
439 if (Utf8Str(vsysThis.strVirtualSystemType).contains("virtualbox", Utf8Str::CaseInsensitive))
467 if (vsysThis.pelmVBoxMachine)
492 fFloppy = vsysThis.fHasFloppyDrive;
493 fDVD = vsysThis.fHasCdromDrive;
508 for (hdcIt = vsysThis.mapControllers.begin();
509 hdcIt != vsysThis.mapControllers.end();
538 vsysThis.strName.c_str());
560 vsysThis.strName.c_str());
589 vsysThis.strName.c_str(),
598 if (vsysThis.mapVirtualDisks.size() > 0)
602 for (itVD = vsysThis.mapVirtualDisks.begin();
603 itVD != vsysThis.mapVirtualDisks.end();
2666 * @param vsysThis OVF virtual system (machine) to import.
2671 void Appliance::i_importMachineGeneric(const ovf::VirtualSystem &vsysThis,
3157 ovf::VirtualDisksMap::const_iterator itVDisk = vsysThis.mapVirtualDisks.begin();
3194 itVDisk = vsysThis.mapVirtualDisks.find(diCurrent.strDiskId);
3195 if (itVDisk == vsysThis.mapVirtualDisks.end())
3282 itVDisk = vsysThis.mapVirtualDisks.find(diCurrent.strDiskId);
3283 if (itVDisk == vsysThis.mapVirtualDisks.end())
3329 ovf::HardDiskController hdc = (*vsysThis.mapControllers.find(ovfVdisk.idController)).second;
3997 const ovf::VirtualSystem &vsysThis = *it;
4087 i_importMachineGeneric(vsysThis, vsdescThis, pNewMachine, stack, pCallbacks, pStorage);