VirtualBox

Changeset 101164 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Sep 19, 2023 10:01:39 AM (20 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159137
Message:

doc/manual,Frontends/VBoxManage,Main/{Global,GuestOSType,VirtualBox.xidl}:
Extend the OSType struct by including a new element named 'variant'
to provide further guest OS details and aid in guest OS categorization
for the GUI when creating VMs. Populate this field in the
Global::sOSTypes[] table for Linux using the distro name and for BSD
using the BSD flavour. Include the variant information in 'VBoxManage
list ostypes' and add a new 'VBoxManage list osvariants' subcommand.
Add new IVirtualBox methods for accessing the guest OS variant
information: getGuestOSVariantsByFamilyId() and getGuestOSDescsByVariant().
bugref:5936

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r101117 r101164  
    27002700  <interface
    27012701    name="IVirtualBox" extends="$unknown"
    2702     uuid="0f22e6d1-07f5-4168-b3ef-167c57670c17"
     2702    uuid="901ac662-0b6e-4b19-a0ac-21cb54d4d5b2"
    27032703    wsmap="managed"
    27042704    rest="managed"
     
    34913491      <param name="type" type="IGuestOSType" dir="return">
    34923492        <desc>Guest OS type object.</desc>
     3493      </param>
     3494    </method>
     3495
     3496    <method name="getGuestOSFamilies">
     3497      <rest request="get" path="/server/methods/"/>
     3498      <desc>
     3499        Returns a list of all known guest OS family IDs.
     3500
     3501        The <link to="IVirtualBox::guestOSTypes"/> collection contains all
     3502        available guest OS type objects. Each object has an
     3503        <link to="IGuestOSType::familyId"/> attribute which contains
     3504        the guest OS family identifier string that this object describes.
     3505
     3506      </desc>
     3507      <param name="guestOSFamilies" type="wstring" safearray="yes" dir="return">
     3508        <desc>Array of all known guest OS family IDs.</desc>
     3509      </param>
     3510    </method>
     3511
     3512    <method name="getGuestOSVariantsByFamilyId">
     3513      <rest request="get" path="/server/methods/"/>
     3514      <desc>
     3515        Returns a list of guest OS family variants for a corresponding
     3516        guest OS family ID type.
     3517
     3518        The <link to="IVirtualBox::guestOSTypes"/> collection contains all
     3519        available guest OS type objects. Each object has an
     3520        <link to="IGuestOSType::familyId"/> attribute which contains a
     3521        the guest OS family this object describes.  The guest OS family
     3522        variant is contained in the <link to="IGuestOSType::variant"/>
     3523        attribute.
     3524
     3525        <result name="E_INVALIDARG">
     3526          @a family is not a valid guest OS family identifier.
     3527        </result>
     3528
     3529      </desc>
     3530      <param name="family" type="wstring" dir="in">
     3531        <desc>Guest OS type ID string.</desc>
     3532      </param>
     3533      <param name="OSvariants" type="wstring" safearray="yes" dir="return">
     3534        <desc>Array of guest OS family variants associated with the specified guest OS family ID.</desc>
     3535      </param>
     3536    </method>
     3537
     3538    <method name="getGuestOSDescsByVariant">
     3539      <rest request="get" path="/server/methods/"/>
     3540      <desc>
     3541        Returns a list of guest OS family descriptions for a corresponding
     3542        guest OS family variant.
     3543
     3544        The <link to="IVirtualBox::guestOSTypes"/> collection contains all
     3545        available guest OS type objects. Each object has an
     3546        <link to="IGuestOSType::variant"/> attribute which contains a
     3547        human readable description of the guest OS variant this object describes.
     3548        The guest OS family description is contained in the
     3549        <link to="IGuestOSType::familyDescription"/> attribute.
     3550
     3551        <result name="E_INVALIDARG">
     3552          @a OSVariant is not a valid guest OS variant.
     3553        </result>
     3554
     3555      </desc>
     3556      <param name="OSVariant" type="wstring" dir="in">
     3557        <desc>Guest OS variant.</desc>
     3558      </param>
     3559      <param name="GuestOSDescs" type="wstring" safearray="yes" dir="return">
     3560        <desc>Array of guest OS descriptions associated with the specified guest OS variant.</desc>
    34933561      </param>
    34943562    </method>
     
    1344713515  <interface
    1344813516    name="IGuestOSType" extends="$unknown"
    13449     uuid="966303d0-36a8-4180-8971-18650b0d1055"
     13517    uuid="858fc38e-efe6-47d0-b6ac-c71023f9d043"
    1345013518    wsmap="struct"
    1345113519    rest="managed"
     
    1346613534    <attribute name="id" type="wstring" readonly="yes">
    1346713535      <desc>Guest OS identifier string.</desc>
     13536    </attribute>
     13537
     13538    <attribute name="variant" type="wstring" readonly="yes">
     13539      <desc>Guest OS variant string.</desc>
    1346813540    </attribute>
    1346913541
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