VirtualBox

Changeset 93405 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Jan 24, 2022 9:56:23 AM (3 years ago)
Author:
vboxsync
Message:

Main/Unattended: Use the detected guest OS type instead of the configured VM guest OS type for picking the installer. bugref:10186 bugref:9515

Location:
trunk/src/VBox/Main/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/Global.h

    r93115 r93405  
    163163
    164164    /**
     165     * Stringify a storage bus type.
     166     *
     167     * @returns Pointer to a read only string.
     168     * @param   aBusType    The storage bus type.
     169     */
     170    static const char *stringifyStorageBus(StorageBus_T aBus);
     171
     172    /**
    165173     * Stringify a device type.
    166174     *
  • trunk/src/VBox/Main/include/UnattendedImpl.h

    r93189 r93405  
    8181    bool           i_isGuestOs64Bit() const;
    8282    bool           i_isFirmwareEFI() const;
    83     VBOXOSTYPE     i_getGuestOsType() const;
    8483    Utf8Str const &i_getDetectedOSVersion();
    8584
     
    9493    bool            mfGuestOs64Bit;         /**< 64-bit (true) or 32-bit guest OS (set by prepare). */
    9594    FirmwareType_T  menmFirmwareType;       /**< Firmware type BIOS/EFI (set by prepare). */
    96     VBOXOSTYPE      meGuestOsType;          /**< The guest OS type (set by prepare). */
    9795    UnattendedInstaller *mpInstaller;       /**< The installer instance (set by prepare, deleted by done). */
    9896
  • trunk/src/VBox/Main/include/UnattendedInstaller.h

    r93115 r93405  
    102102     *
    103103     * @returns Pointer to the new instance, NULL if no appropriate installer.
    104      * @param   enmOsType               The guest OS type value.
    105      * @param   strGuestOsType          The guest OS type string
     104     * @param   enmDetectedOSType       The detected guest OS type value.
     105     * @param   strDetectedOSType       The detected guest OS type string
    106106     * @param   strDetectedOSVersion    The detected guest OS version.
    107107     * @param   strDetectedOSFlavor     The detected guest OS flavor.
     
    111111     * @throws  std::bad_alloc
    112112     */
    113     static UnattendedInstaller *createInstance(VBOXOSTYPE enmOsType, const Utf8Str &strGuestOsType,
     113    static UnattendedInstaller *createInstance(VBOXOSTYPE enmDetectedOSType, const Utf8Str &strDetectedOSType,
    114114                                               const Utf8Str &strDetectedOSVersion, const Utf8Str &strDetectedOSFlavor,
    115115                                               const Utf8Str &strDetectedOSHints, Unattended *pParent);
Note: See TracChangeset for help on using the changeset viewer.

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