Lines Matching refs:med

592  * @param med
596 Medium &med)
604 parseUUID(med.uuid, strUUID);
621 med.strFormat = "VDI";
623 med.strFormat = "VMDK";
625 med.strFormat = "VHD";
628 med.strFormat = "iSCSI";
635 med.strLocation = "iscsi://";
639 med.strLocation.append(strUser);
640 med.strLocation.append("@");
653 med.strLocation.append(strServerAndPort);
656 med.strLocation.append("/");
657 med.strLocation.append(strTarget);
661 med.strLocation.append("/");
662 med.strLocation.append(strLun);
666 med.properties["TargetAddress"] = strServerAndPort;
668 med.properties["TargetName"] = strTarget;
670 med.properties["InitiatorUsername"] = strUser;
673 med.properties["InitiatorSecret"] = strPassword;
675 med.properties["LUN"] = strLun;
688 if (!(pelmImage->getAttributeValuePath("filePath", med.strLocation)))
693 if (med.strFormat.isEmpty()) // not set with 1.4 format above, or 1.4 Custom format?
694 if (!elmMedium.getAttributeValue("format", med.strFormat))
697 if (!elmMedium.getAttributeValue("autoReset", med.fAutoReset))
698 med.fAutoReset = false;
706 med.hdType = MediumType_Normal;
708 med.hdType = MediumType_Immutable;
710 med.hdType = MediumType_Writethrough;
712 med.hdType = MediumType_Shareable;
714 med.hdType = MediumType_Readonly;
716 med.hdType = MediumType_MultiAttach;
726 if (!elmMedium.getAttributeValue("src", med.strLocation))
732 if (!elmMedium.getAttributeValue("format", med.strFormat))
735 med.strFormat = "RAW";
739 med.hdType = MediumType_Readonly;
741 med.hdType = MediumType_Writethrough;
746 if (!elmMedium.getAttributeValue("location", med.strLocation))
749 elmMedium.getAttributeValue("Description", med.strDescription); // optional
759 med.properties[strPropName] = strPropValue;
772 * @param med
778 Medium &med) // medium settings to fill out
786 readMediumOne(t, elmMedium, med);
792 MediaList &llSettingsChildren = med.llChildren;