VirtualBox

Changeset 34501 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Nov 30, 2010 12:30:30 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68289
Message:

Main/OVF: use ostype from ovf:/OperatingSystemSection/vbox:OSType element if present (reading only so far)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/ovfreader.cpp

    r33700 r34501  
    775775            if ((pelmCIMOSDescription = pelmThis->findChildElement("Description")))
    776776                vsys.strCimosDesc = pelmCIMOSDescription->getValue();
     777
     778            const xml::ElementNode *pelmVBoxOSType;
     779            if ((pelmVBoxOSType = pelmThis->findChildElement("vbox",            // namespace
     780                                                             "OSType")))        // element name
     781                vsys.strTypeVbox = pelmVBoxOSType->getValue();
    777782        }
    778783        else if (    (!strcmp(pcszElemName, "AnnotationSection"))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette