VirtualBox

Changeset 58677 in vbox for trunk/src


Ignore:
Timestamp:
Nov 12, 2015 4:44:55 PM (9 years ago)
Author:
vboxsync
Message:

introduced new OS hint for USB-3-capable guests

Location:
trunk/src/VBox/Main
Files:
5 edited

Legend:

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

    r58437 r58677  
    95529552    uuid="03cd409d-20f5-43f9-8de1-4a129620990b"
    95539553    wsmap="struct"
    9554     reservedAttributes="16"
     9554    reservedAttributes="15"
    95559555    >
    95569556    <desc>
     
    96679667    <attribute name="recommendedUSB" type="boolean" readonly="yes">
    96689668      <desc>Returns @c true a USB controller is recommended for this OS type.</desc>
     9669    </attribute>
     9670
     9671    <attribute name="recommendedUSB3" type="boolean" readonly="yes">
     9672      <desc>Returns @c true an xHCI (USB 3) controller is recommended for this OS type.</desc>
    96699673    </attribute>
    96709674
  • trunk/src/VBox/Main/include/Global.h

    r56459 r58677  
    4141#define VBOXOSHINT_NOUSB                RT_BIT(12)
    4242#define VBOXOSHINT_TFRESET              RT_BIT(13)
     43#define VBOXOSHINT_USB3                 RT_BIT(14)
    4344
    4445/** The VBoxVRDP kludge extension pack name.
  • trunk/src/VBox/Main/include/GuestOSTypeImpl.h

    r56459 r58677  
    7878    HRESULT getRecommendedFloppy(BOOL *aRecommendedFloppy);
    7979    HRESULT getRecommendedUSB(BOOL *aRecommendedUSB);
     80    HRESULT getRecommendedUSB3(BOOL *aRecommendedUSB3);
    8081    HRESULT getRecommendedTFReset(BOOL *aRecommendedTFReset);
    8182
  • trunk/src/VBox/Main/src-all/Global.cpp

    r58601 r58677  
    103103        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_HDA, AudioCodecType_STAC9221  },
    104104    { "Windows", "Microsoft Windows", "Windows8",           "Windows 8 (32-bit)",
    105       VBOXOSTYPE_Win8,             VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_PAE,
     105      VBOXOSTYPE_Win8,             VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_PAE | VBOXOSHINT_USB3,
    106106       1024,128, 25 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
    107107        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_HDA, AudioCodecType_STAC9221  },
    108108    { "Windows", "Microsoft Windows", "Windows8_64",        "Windows 8 (64-bit)",
    109       VBOXOSTYPE_Win8_x64,        VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET,
     109      VBOXOSTYPE_Win8_x64,        VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3,
    110110       2048,128, 25 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
    111111        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_HDA, AudioCodecType_STAC9221  },
    112112    { "Windows", "Microsoft Windows", "Windows81",          "Windows 8.1 (32-bit)",
    113       VBOXOSTYPE_Win81,            VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_PAE,
     113      VBOXOSTYPE_Win81,            VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_PAE | VBOXOSHINT_USB3,
    114114       1024,128, 25 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
    115115        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_HDA, AudioCodecType_STAC9221  },
    116116    { "Windows", "Microsoft Windows", "Windows81_64",       "Windows 8.1 (64-bit)",
    117       VBOXOSTYPE_Win81_x64,       VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET,
     117      VBOXOSTYPE_Win81_x64,       VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3,
    118118       2048,128, 25 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
    119119        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_HDA, AudioCodecType_STAC9221  },
    120120    { "Windows", "Microsoft Windows", "Windows2012_64",     "Windows 2012 (64-bit)",
    121       VBOXOSTYPE_Win2k12_x64,     VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET,
     121      VBOXOSTYPE_Win2k12_x64,     VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3,
    122122       2048,128, 25 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
    123123        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_HDA, AudioCodecType_STAC9221  },
    124124    { "Windows", "Microsoft Windows", "Windows10",          "Windows 10 (32-bit)",
    125       VBOXOSTYPE_Win10,            VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_PAE,
     125      VBOXOSTYPE_Win10,            VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_PAE | VBOXOSHINT_USB3,
    126126       1024,128, 32 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
    127127        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_HDA, AudioCodecType_STAC9221  },
    128128    { "Windows", "Microsoft Windows", "Windows10_64",       "Windows 10 (64-bit)",
    129       VBOXOSTYPE_Win10_x64,       VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET,
     129      VBOXOSTYPE_Win10_x64,       VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3,
    130130       2048,128, 32 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
    131131        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_HDA, AudioCodecType_STAC9221  },
  • trunk/src/VBox/Main/src-server/GuestOSTypeImpl.cpp

    r56459 r58677  
    398398}
    399399
     400HRESULT GuestOSType::getRecommendedUSB3(BOOL *aRecommendedUSB3)
     401{
     402    /* Value is constant during life time, no need to lock */
     403    *aRecommendedUSB3 = !!(mOSHint & VBOXOSHINT_USB3);
     404
     405    return S_OK;
     406}
     407
    400408HRESULT GuestOSType::getRecommendedTFReset(BOOL *aRecommendedTFReset)
    401409{
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