- Timestamp:
- Oct 26, 2010 8:07:43 AM (14 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp
r32646 r33447 665 665 (ULONG) (VBoxGlobal::requiredVideoMemory(&m_Machine) / _1M))); 666 666 667 /* Selecting recommended Audio Controller */ 668 m_Machine.GetAudioAdapter().SetAudioController(type.GetRecommendedAudioController()); 667 669 /* Enabling audio by default */ 668 670 m_Machine.GetAudioAdapter().SetEnabled(true); -
trunk/src/VBox/Main/Global.cpp
r32880 r33447 35 35 VBOXOSTYPE_Unknown, VBOXOSHINT_NONE, 36 36 64, 4, 2 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 37 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },37 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 38 38 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows31, "Windows 3.1", 39 39 VBOXOSTYPE_Win31, VBOXOSHINT_NONE, 40 40 32, 4, 1 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 41 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },41 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_SB16 }, 42 42 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows95, "Windows 95", 43 43 VBOXOSTYPE_Win95, VBOXOSHINT_NONE, 44 44 64, 4, 2 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 45 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },45 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 46 46 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows98, "Windows 98", 47 47 VBOXOSTYPE_Win98, VBOXOSHINT_NONE, 48 48 64, 4, 2 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 49 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },49 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 50 50 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsMe, "Windows Me", 51 51 VBOXOSTYPE_WinMe, VBOXOSHINT_NONE, 52 52 64, 4, 4 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 53 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },53 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 54 54 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsNT4, "Windows NT 4", 55 55 VBOXOSTYPE_WinNT4, VBOXOSHINT_NONE, 56 56 128, 16, 2 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 57 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },57 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 58 58 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows2000, "Windows 2000", 59 59 VBOXOSTYPE_Win2k, VBOXOSHINT_NONE, 60 60 168, 16, 4 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 61 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },61 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 62 62 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsXP, "Windows XP", 63 63 VBOXOSTYPE_WinXP, VBOXOSHINT_NONE, 64 64 192, 16, 10 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 65 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },65 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 66 66 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsXP_64, "Windows XP (64 bit)", 67 67 VBOXOSTYPE_WinXP_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC, 68 68 192, 16, 10 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 69 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },69 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 70 70 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows2003, "Windows 2003", 71 71 VBOXOSTYPE_Win2k3, VBOXOSHINT_NONE, 72 72 256, 16, 20 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 73 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },73 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 74 74 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows2003_64, "Windows 2003 (64 bit)", 75 75 VBOXOSTYPE_Win2k3_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC, 76 76 256, 16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 77 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },77 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 78 78 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsVista, "Windows Vista", 79 79 VBOXOSTYPE_WinVista, VBOXOSHINT_NONE, 80 80 512, 16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 81 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },81 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 82 82 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsVista_64, "Windows Vista (64 bit)", 83 83 VBOXOSTYPE_WinVista_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC, 84 84 512, 16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 85 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },85 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_HDA }, 86 86 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows2008, "Windows 2008", 87 87 VBOXOSTYPE_Win2k8, VBOXOSHINT_NONE, 88 88 512, 16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 89 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },89 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 90 90 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows2008_64, "Windows 2008 (64 bit)", 91 91 VBOXOSTYPE_Win2k8_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC, 92 92 512, 16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 93 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },93 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 94 94 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows7, "Windows 7", 95 95 VBOXOSTYPE_Win7, VBOXOSHINT_NONE, 96 96 512, 16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 97 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },97 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 98 98 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows7_64, "Windows 7 (64 bit)", 99 99 VBOXOSTYPE_Win7_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC, 100 100 512, 16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 101 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },101 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_HDA }, 102 102 { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsNT, "Other Windows", 103 103 VBOXOSTYPE_WinNT, VBOXOSHINT_NONE, 104 104 512, 16, 20 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 105 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },105 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 106 106 { "Linux", "Linux", SchemaDefs_OSTypeId_Linux22, "Linux 2.2", 107 107 VBOXOSTYPE_Linux22, VBOXOSHINT_RTCUTC, 108 108 64, 4, 2 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 109 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },109 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 110 110 { "Linux", "Linux", SchemaDefs_OSTypeId_Linux24, "Linux 2.4", 111 111 VBOXOSTYPE_Linux24, VBOXOSHINT_RTCUTC, 112 112 128, 4, 4 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 113 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },113 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 114 114 { "Linux", "Linux", SchemaDefs_OSTypeId_Linux24_64, "Linux 2.4 (64 bit)", 115 115 VBOXOSTYPE_Linux24_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC, 116 116 128, 4, 4 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 117 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },117 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 118 118 { "Linux", "Linux", SchemaDefs_OSTypeId_Linux26, "Linux 2.6", 119 119 VBOXOSTYPE_Linux26, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 120 120 256, 4, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 121 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },121 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 122 122 { "Linux", "Linux", SchemaDefs_OSTypeId_Linux26_64, "Linux 2.6 (64 bit)", 123 123 VBOXOSTYPE_Linux26_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 124 124 256, 4, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 125 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },125 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 126 126 { "Linux", "Linux", SchemaDefs_OSTypeId_ArchLinux, "Arch Linux", 127 127 VBOXOSTYPE_ArchLinux, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 128 128 256, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 129 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },129 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 130 130 { "Linux", "Linux", SchemaDefs_OSTypeId_ArchLinux_64, "Arch Linux (64 bit)", 131 131 VBOXOSTYPE_ArchLinux_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 132 132 256, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 133 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },133 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 134 134 { "Linux", "Linux", SchemaDefs_OSTypeId_Debian, "Debian", 135 135 VBOXOSTYPE_Debian, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 136 136 384, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 137 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },137 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 138 138 { "Linux", "Linux", SchemaDefs_OSTypeId_Debian_64, "Debian (64 bit)", 139 139 VBOXOSTYPE_Debian_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 140 140 384, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 141 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },141 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97}, 142 142 { "Linux", "Linux", SchemaDefs_OSTypeId_OpenSUSE, "openSUSE", 143 143 VBOXOSTYPE_OpenSUSE, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 144 144 512, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 145 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },145 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 146 146 { "Linux", "Linux", SchemaDefs_OSTypeId_OpenSUSE_64, "openSUSE (64 bit)", 147 147 VBOXOSTYPE_OpenSUSE_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 148 148 512, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 149 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },149 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 150 150 { "Linux", "Linux", SchemaDefs_OSTypeId_Fedora, "Fedora", 151 151 VBOXOSTYPE_FedoraCore, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 152 152 512, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 153 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },153 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 154 154 { "Linux", "Linux", SchemaDefs_OSTypeId_Fedora_64, "Fedora (64 bit)", 155 155 VBOXOSTYPE_FedoraCore_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 156 156 512, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 157 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },157 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 158 158 { "Linux", "Linux", SchemaDefs_OSTypeId_Gentoo, "Gentoo", 159 159 VBOXOSTYPE_Gentoo, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 160 160 256, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 161 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },161 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 162 162 { "Linux", "Linux", SchemaDefs_OSTypeId_Gentoo_64, "Gentoo (64 bit)", 163 163 VBOXOSTYPE_Gentoo_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 164 164 256, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 165 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },165 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 166 166 { "Linux", "Linux", SchemaDefs_OSTypeId_Mandriva, "Mandriva", 167 167 VBOXOSTYPE_Mandriva, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 168 168 512, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 169 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },169 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 170 170 { "Linux", "Linux", SchemaDefs_OSTypeId_Mandriva_64, "Mandriva (64 bit)", 171 171 VBOXOSTYPE_Mandriva_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 172 172 512, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 173 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },173 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 174 174 { "Linux", "Linux", SchemaDefs_OSTypeId_RedHat, "Red Hat", 175 175 VBOXOSTYPE_RedHat, VBOXOSHINT_RTCUTC | VBOXOSHINT_PAE, 176 176 512, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 177 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },177 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 178 178 { "Linux", "Linux", SchemaDefs_OSTypeId_RedHat_64, "Red Hat (64 bit)", 179 179 VBOXOSTYPE_RedHat_x64, VBOXOSHINT_64BIT | VBOXOSHINT_PAE | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC, 180 180 512, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 181 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },181 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 182 182 { "Linux", "Linux", SchemaDefs_OSTypeId_Turbolinux, "Turbolinux", 183 183 VBOXOSTYPE_Turbolinux, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 184 184 384, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 185 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },185 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 186 186 { "Linux", "Linux", SchemaDefs_OSTypeId_Turbolinux, "Turbolinux (64 bit)", 187 187 VBOXOSTYPE_Turbolinux_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 188 188 384, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 189 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },189 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 190 190 { "Linux", "Linux", SchemaDefs_OSTypeId_Ubuntu, "Ubuntu", 191 191 VBOXOSTYPE_Ubuntu, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 192 192 512, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 193 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },193 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 194 194 { "Linux", "Linux", SchemaDefs_OSTypeId_Ubuntu_64, "Ubuntu (64 bit)", 195 195 VBOXOSTYPE_Ubuntu_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 196 196 512, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 197 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },197 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 198 198 { "Linux", "Linux", SchemaDefs_OSTypeId_Xandros, "Xandros", 199 199 VBOXOSTYPE_Xandros, VBOXOSHINT_RTCUTC, 200 200 256, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 201 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },201 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 202 202 { "Linux", "Linux", SchemaDefs_OSTypeId_Xandros_64, "Xandros (64 bit)", 203 203 VBOXOSTYPE_Xandros_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC, 204 204 256, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 205 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },205 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 206 206 { "Linux", "Linux", SchemaDefs_OSTypeId_Oracle, "Oracle", 207 207 VBOXOSTYPE_Oracle, VBOXOSHINT_RTCUTC | VBOXOSHINT_PAE, 208 208 512, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 209 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },209 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 210 210 { "Linux", "Linux", SchemaDefs_OSTypeId_Oracle_64, "Oracle (64 bit)", 211 211 VBOXOSTYPE_Oracle_x64, VBOXOSHINT_64BIT | VBOXOSHINT_PAE | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC, 212 212 512, 12, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 213 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },213 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 214 214 { "Linux", "Linux", SchemaDefs_OSTypeId_Linux, "Other Linux", 215 215 VBOXOSTYPE_Linux, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET, 216 216 256, 12, 8 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 217 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },217 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 218 218 { "Solaris", "Solaris", SchemaDefs_OSTypeId_Solaris, "Solaris", 219 219 VBOXOSTYPE_Solaris, VBOXOSHINT_NONE, 220 220 768, 12, 16 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 221 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },221 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 222 222 { "Solaris", "Solaris", SchemaDefs_OSTypeId_Solaris_64, "Solaris (64 bit)", 223 223 VBOXOSTYPE_Solaris_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC, 224 224 768, 12, 16 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 225 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },225 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 226 226 { "Solaris", "Solaris", SchemaDefs_OSTypeId_OpenSolaris, "OpenSolaris", 227 227 VBOXOSTYPE_OpenSolaris, VBOXOSHINT_NONE, 228 228 768, 12, 16 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 229 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },229 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 230 230 { "Solaris", "Solaris", SchemaDefs_OSTypeId_OpenSolaris_64, "OpenSolaris (64 bit)", 231 231 VBOXOSTYPE_OpenSolaris_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC, 232 232 768, 12, 16 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 233 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3 },233 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97 }, 234 234 { "BSD", "BSD", SchemaDefs_OSTypeId_FreeBSD, "FreeBSD", 235 235 VBOXOSTYPE_FreeBSD, VBOXOSHINT_NONE, 236 236 128, 4, 2 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 237 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },237 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 238 238 { "BSD", "BSD", SchemaDefs_OSTypeId_FreeBSD_64, "FreeBSD (64 bit)", 239 239 VBOXOSTYPE_FreeBSD_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC, 240 240 128, 4, 2 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 241 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },241 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 242 242 { "BSD", "BSD", SchemaDefs_OSTypeId_OpenBSD, "OpenBSD", 243 243 VBOXOSTYPE_OpenBSD, VBOXOSHINT_HWVIRTEX, 244 244 64, 4, 2 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 245 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },245 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 246 246 { "BSD", "BSD", SchemaDefs_OSTypeId_OpenBSD_64, "OpenBSD (64 bit)", 247 247 VBOXOSTYPE_OpenBSD_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC, 248 248 64, 4, 2 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 249 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },249 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 250 250 { "BSD", "BSD", SchemaDefs_OSTypeId_NetBSD, "NetBSD", 251 251 VBOXOSTYPE_NetBSD, VBOXOSHINT_NONE, 252 252 64, 4, 2 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 253 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },253 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 254 254 { "BSD", "BSD", SchemaDefs_OSTypeId_NetBSD_64, "NetBSD (64 bit)", 255 255 VBOXOSTYPE_NetBSD_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC, 256 256 64, 4, 2 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, 257 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },257 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 258 258 { "OS2", "IBM OS/2", SchemaDefs_OSTypeId_OS2Warp3, "OS/2 Warp 3", 259 259 VBOXOSTYPE_OS2Warp3, VBOXOSHINT_HWVIRTEX, 260 260 48, 4, 1 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE, 261 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },261 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 262 262 { "OS2", "IBM OS/2", SchemaDefs_OSTypeId_OS2Warp4, "OS/2 Warp 4", 263 263 VBOXOSTYPE_OS2Warp4, VBOXOSHINT_HWVIRTEX, 264 264 64, 4, 2 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE, 265 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },265 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 266 266 { "OS2", "IBM OS/2", SchemaDefs_OSTypeId_OS2Warp45, "OS/2 Warp 4.5", 267 267 VBOXOSTYPE_OS2Warp45, VBOXOSHINT_HWVIRTEX, 268 268 96, 4, 2 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE, 269 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },269 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 270 270 { "OS2", "IBM OS/2", SchemaDefs_OSTypeId_OS2eCS, "eComStation", 271 271 VBOXOSTYPE_ECS, VBOXOSHINT_HWVIRTEX, 272 272 96, 4, 2 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE, 273 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },273 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 274 274 { "OS2", "IBM OS/2", SchemaDefs_OSTypeId_OS2, "Other OS/2", 275 275 VBOXOSTYPE_OS2, VBOXOSHINT_HWVIRTEX, 276 276 96, 4, 2 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE, 277 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },277 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 278 278 { "MacOS", "Mac OS X", SchemaDefs_OSTypeId_MacOS, "Mac OS X Server", 279 279 VBOXOSTYPE_MacOS, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_USBTABLET, 280 280 1024, 4, 20 * _1G64, NetworkAdapterType_I82543GC, 0, StorageControllerType_ICH6, StorageBus_IDE, 281 StorageControllerType_ICH6, StorageBus_IDE, ChipsetType_ PIIX3},281 StorageControllerType_ICH6, StorageBus_IDE, ChipsetType_ICH9, AudioControllerType_HDA }, 282 282 { "MacOS", "Mac OS X", SchemaDefs_OSTypeId_MacOS_64, "Mac OS X Server (64 bit)", 283 283 VBOXOSTYPE_MacOS_x64, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE | VBOXOSHINT_64BIT | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_USBTABLET, 284 284 1024, 4, 20 * _1G64, NetworkAdapterType_I82543GC, 0, StorageControllerType_ICH6, StorageBus_IDE, 285 StorageControllerType_ICH6, StorageBus_IDE, ChipsetType_ PIIX3},285 StorageControllerType_ICH6, StorageBus_IDE, ChipsetType_ICH9, AudioControllerType_HDA }, 286 286 { "Other", "Other", SchemaDefs_OSTypeId_DOS, "DOS", 287 287 VBOXOSTYPE_DOS, VBOXOSHINT_NONE, 288 288 32, 4, 512 * _1M, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 289 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },289 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_SB16 }, 290 290 { "Other", "Other", SchemaDefs_OSTypeId_Netware, "Netware", 291 291 VBOXOSTYPE_Netware, VBOXOSHINT_HWVIRTEX, 292 292 512, 4, 4 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 293 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },293 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 294 294 { "Other", "Other", SchemaDefs_OSTypeId_L4, "L4", 295 295 VBOXOSTYPE_L4, VBOXOSHINT_NONE, 296 296 64, 4, 2 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 297 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },297 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 298 298 { "Other", "Other", SchemaDefs_OSTypeId_QNX, "QNX", 299 299 VBOXOSTYPE_QNX, VBOXOSHINT_HWVIRTEX, 300 300 512, 4, 4 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE, 301 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },301 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 }, 302 302 }; 303 303 -
trunk/src/VBox/Main/GuestOSTypeImpl.cpp
r32894 r33447 36 36 , mHdStorageBusType(StorageBus_IDE) 37 37 , mChipsetType(ChipsetType_PIIX3) 38 , mAudioControllerType(AudioControllerType_AC97) 38 39 { 39 40 } … … 80 81 StorageControllerType_T aHdStorageControllerType, 81 82 StorageBus_T aHdStorageBusType, 82 ChipsetType_T aChipsetType*/ 83 ChipsetType_T aChipsetType 84 AudioControllerType_T aAudioControllerType*/ 83 85 { 84 86 #if 0 … … 120 122 unconst(mHdStorageBusType) = ostype.hdStorageBusType; 121 123 unconst(mChipsetType) = ostype.chipsetType; 124 unconst(mAudioControllerType) = ostype.audioControllerType; 122 125 123 126 /* Confirm a successful initialization when it's the case */ … … 431 434 } 432 435 436 STDMETHODIMP GuestOSType::COMGETTER(RecommendedAudioController) (AudioControllerType_T *aAudioController) 437 { 438 CheckComArgOutPointerValid(aAudioController); 439 440 AutoCaller autoCaller(this); 441 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 442 443 *aAudioController = mAudioControllerType; 444 445 return S_OK; 446 } 447 433 448 /* vi: set tabstop=4 shiftwidth=4 expandtab: */ -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r33417 r33447 7567 7567 <attribute name="recommendedChipset" type="ChipsetType" readonly="yes"> 7568 7568 <desc>Recommended chipset type.</desc> 7569 </attribute> 7569 </attribute> 7570 7571 <attribute name="recommendedAudioController" type="AudioControllerType" readonly="yes"> 7572 <desc>Recommended audio type.</desc> 7573 </attribute> 7570 7574 7571 7575 </interface> -
trunk/src/VBox/Main/include/Global.h
r32531 r33447 69 69 const StorageBus_T hdStorageBusType; 70 70 const ChipsetType_T chipsetType; 71 const AudioControllerType_T audioControllerType; 71 72 }; 72 73 -
trunk/src/VBox/Main/include/GuestOSTypeImpl.h
r32894 r33447 73 73 STDMETHOD(COMGETTER(RecommendedRtcUseUtc))(BOOL *aRecommendedRtcUseUtc); 74 74 STDMETHOD(COMGETTER(RecommendedChipset)) (ChipsetType_T *aChipsetType); 75 STDMETHOD(COMGETTER(RecommendedAudioController)) (AudioControllerType_T *aAudioController); 75 76 76 77 // public methods only for internal purposes … … 102 103 const StorageBus_T mHdStorageBusType; 103 104 const ChipsetType_T mChipsetType; 105 const AudioControllerType_T mAudioControllerType; 104 106 }; 105 107
Note:
See TracChangeset
for help on using the changeset viewer.