1 | /* $Id: Global.cpp 107248 2024-12-06 22:25:21Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VirtualBox COM global definitions
|
---|
4 | *
|
---|
5 | * NOTE: This file is part of both VBoxC.dll and VBoxSVC.exe.
|
---|
6 | */
|
---|
7 |
|
---|
8 | /*
|
---|
9 | * Copyright (C) 2008-2024 Oracle and/or its affiliates.
|
---|
10 | *
|
---|
11 | * This file is part of VirtualBox base platform packages, as
|
---|
12 | * available from https://www.virtualbox.org.
|
---|
13 | *
|
---|
14 | * This program is free software; you can redistribute it and/or
|
---|
15 | * modify it under the terms of the GNU General Public License
|
---|
16 | * as published by the Free Software Foundation, in version 3 of the
|
---|
17 | * License.
|
---|
18 | *
|
---|
19 | * This program is distributed in the hope that it will be useful, but
|
---|
20 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
22 | * General Public License for more details.
|
---|
23 | *
|
---|
24 | * You should have received a copy of the GNU General Public License
|
---|
25 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
26 | *
|
---|
27 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
28 | */
|
---|
29 |
|
---|
30 | #include "Global.h"
|
---|
31 | #include "StringifyEnums.h"
|
---|
32 |
|
---|
33 | #include <iprt/assert.h>
|
---|
34 | #include <iprt/string.h>
|
---|
35 | #include <iprt/errcore.h>
|
---|
36 |
|
---|
37 | #include "VBoxNls.h"
|
---|
38 |
|
---|
39 | DECLARE_TRANSLATION_CONTEXT(GlobalCtx);
|
---|
40 |
|
---|
41 |
|
---|
42 | #define VBOX_OSTYPE_X86(a_OStype) VBOXOSTYPE_ ## a_OStype
|
---|
43 | #define VBOX_OSTYPE_X64(a_OStype) VBOXOSTYPE_ ## a_OStype ## _x64
|
---|
44 | #define VBOX_OSTYPE_ARM32(a_OStype) VBOXOSTYPE_ ## a_OStype ## _arm32
|
---|
45 | #define VBOX_OSTYPE_ARM64(a_OStype) VBOXOSTYPE_ ## a_OStype ## _arm64
|
---|
46 |
|
---|
47 | #define VBOX_GUEST_ADDITIONS_NAME_NONE ""
|
---|
48 | #define VBOX_GUEST_ADDITIONS_NAME_WIN "VBoxWindowsAdditions.exe"
|
---|
49 | #define VBOX_GUEST_ADDITIONS_NAME_WIN_A64 "VBoxWindowsAdditions-arm64.exe"
|
---|
50 | #define VBOX_GUEST_ADDITIONS_NAME_SOLARIS "VBoxSolarisAdditions.pkg"
|
---|
51 | #define VBOX_GUEST_ADDITIONS_NAME_DARWIN "VBoxDarwinAdditions.pkg"
|
---|
52 | #define VBOX_GUEST_ADDITIONS_NAME_LNX_X86 "VBoxLinuxAdditions.run"
|
---|
53 | #define VBOX_GUEST_ADDITIONS_NAME_LNX_A64 "VBoxLinuxAdditions-arm64.run"
|
---|
54 |
|
---|
55 | /* static */
|
---|
56 | const Global::OSType Global::sOSTypes[] =
|
---|
57 | {
|
---|
58 | /* NOTE1: we assume that unknown is always the first two entries!
|
---|
59 | * NOTE2: please use powers of 2 when specifying the size of harddisks since
|
---|
60 | * '2GB' looks better than '1.95GB' (= 2000MB)
|
---|
61 | * NOTE3: if you add new guest OS types please check if the code in
|
---|
62 | * Machine::getEffectiveParavirtProvider and Console::i_configConstructorInner
|
---|
63 | * are still covering the relevant cases.
|
---|
64 | * NOTE4: platform support: always define all guest OS types w/o guarding new / different platform architectures
|
---|
65 | * with own #defines. If (and how) guest OS types will be reported is decided by the actual Main
|
---|
66 | * implementations(s).
|
---|
67 | */
|
---|
68 | { "Other", "Other", "", GUEST_OS_ID_STR_X86("Other"), "Other/Unknown", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
69 | VBOXOSTYPE_Unknown, VBOXOSHINT_NONE,
|
---|
70 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
71 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
72 |
|
---|
73 | { "Other", "Other", "", GUEST_OS_ID_STR_X64("Other"), "Other/Unknown (64-bit)", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
74 | VBOXOSTYPE_Unknown_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_PAE | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC,
|
---|
75 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
76 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
77 |
|
---|
78 | { "Other", "Other", "", GUEST_OS_ID_STR_A64("Other"), "Other/Unknown (ARM 64-bit)", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
79 | VBOXOSTYPE_Unknown_arm64, VBOXOSHINT_64BIT | VBOXOSHINT_EFI | VBOXOSHINT_USB3,
|
---|
80 | 1, 1024, 128, 2 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI,
|
---|
81 | StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
82 |
|
---|
83 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("Windows31"), "Windows 3.1", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
84 | VBOXOSTYPE_Win31, VBOXOSHINT_FLOPPY,
|
---|
85 | 1, 32, 4, 1 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
86 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
87 |
|
---|
88 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("Windows95"), "Windows 95", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
89 | VBOXOSTYPE_Win95, VBOXOSHINT_FLOPPY,
|
---|
90 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
91 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
92 |
|
---|
93 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("Windows98"), "Windows 98", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
94 | VBOXOSTYPE_Win98, VBOXOSHINT_FLOPPY,
|
---|
95 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
96 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
97 |
|
---|
98 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("WindowsMe"), "Windows ME", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
99 | VBOXOSTYPE_WinMe, VBOXOSHINT_FLOPPY | VBOXOSHINT_USBTABLET,
|
---|
100 | 1, 128, 4, 4 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
101 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
102 |
|
---|
103 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("WindowsNT3x"), "Windows NT 3.x", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
104 | VBOXOSTYPE_WinNT3x, VBOXOSHINT_NOUSB | VBOXOSHINT_FLOPPY,
|
---|
105 | 1, 64, 8, _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_BusLogic, StorageBus_SCSI,
|
---|
106 | StorageControllerType_BusLogic, StorageBus_SCSI, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
107 |
|
---|
108 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("WindowsNT4"), "Windows NT 4", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
109 | VBOXOSTYPE_WinNT4, VBOXOSHINT_NOUSB,
|
---|
110 | 1, 128, 16, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
111 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
112 |
|
---|
113 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("Windows2000"), "Windows 2000", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
114 | VBOXOSTYPE_Win2k, VBOXOSHINT_USBTABLET,
|
---|
115 | 1, 168, 16, 4 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
116 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
117 |
|
---|
118 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("WindowsXP"), "Windows XP (32-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
119 | VBOXOSTYPE_WinXP, VBOXOSHINT_USBTABLET,
|
---|
120 | 1, 192, 16, 10 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82543GC, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
121 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
122 |
|
---|
123 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("WindowsXP"), "Windows XP (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
124 | VBOXOSTYPE_WinXP_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET,
|
---|
125 | 1, 512, 16, 10 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
126 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
127 |
|
---|
128 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("Windows2003"), "Windows Server 2003 (32-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
129 | VBOXOSTYPE_Win2k3, VBOXOSHINT_USBTABLET,
|
---|
130 | 1, 512, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82543GC, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
131 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
132 |
|
---|
133 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("Windows2003"), "Windows Server 2003 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
134 | VBOXOSTYPE_Win2k3_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET,
|
---|
135 | 1, 512, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
136 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
137 |
|
---|
138 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("WindowsVista"), "Windows Vista (32-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
139 | VBOXOSTYPE_WinVista, VBOXOSHINT_USBTABLET | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
140 | 1, 512, 16, 25 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
141 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
142 |
|
---|
143 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("WindowsVista"), "Windows Vista (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
144 | VBOXOSTYPE_WinVista_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
145 | 1, 512, 16, 25 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
146 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
147 |
|
---|
148 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("Windows2008"), "Windows Server 2008 (32-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
149 | VBOXOSTYPE_Win2k8, VBOXOSHINT_USBTABLET | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
150 | 1, 1024, 16, 32 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
151 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
152 |
|
---|
153 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("Windows2008"), "Windows Server 2008 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
154 | VBOXOSTYPE_Win2k8_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
155 | 1, 2048, 16, 32 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
156 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
157 |
|
---|
158 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("Windows7"), "Windows 7 (32-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
159 | VBOXOSTYPE_Win7, VBOXOSHINT_USBTABLET | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
160 | 1, 1024, 16, 32 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
161 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
162 |
|
---|
163 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("Windows7"), "Windows 7 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
164 | VBOXOSTYPE_Win7_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
165 | 1, 2048, 16, 32 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
166 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
167 |
|
---|
168 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("Windows8"), "Windows 8 (32-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
169 | VBOXOSTYPE_Win8, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X86_PAE | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
170 | 1, 1024, 128, 40 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
171 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
172 |
|
---|
173 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("Windows8"), "Windows 8 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
174 | VBOXOSTYPE_Win8_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
175 | 1, 2048, 128, 40 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
176 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
177 |
|
---|
178 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("Windows81"), "Windows 8.1 (32-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
179 | VBOXOSTYPE_Win81, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X86_PAE | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
180 | 1, 1024, 128, 40 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
181 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
182 |
|
---|
183 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("Windows81"), "Windows 8.1 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
184 | VBOXOSTYPE_Win81_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
185 | 1, 2048, 128, 40 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
186 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
187 |
|
---|
188 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("Windows2012"), "Windows Server 2012 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
189 | VBOXOSTYPE_Win2k12_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
190 | 1, 2048, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
191 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
192 |
|
---|
193 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("Windows10"), "Windows 10 (32-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
194 | VBOXOSTYPE_Win10, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X86_PAE | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
195 | 1, 1024, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
196 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
197 |
|
---|
198 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("Windows10"), "Windows 10 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
199 | VBOXOSTYPE_Win10_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
200 | 1, 2048, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
201 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
202 |
|
---|
203 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_A64("Windows10"), "Windows 10 on ARM (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN_A64, VBOX_OSTYPE_ARM64(Win10), VBOXOSHINT_64BIT | VBOXOSHINT_EFI | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_EFI_SECUREBOOT | VBOXOSHINT_TPM2 | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBHID,
|
---|
204 | 2, 4096, 128, 50 * _1G64, GraphicsControllerType_QemuRamFB, NetworkAdapterType_I82540EM, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI,
|
---|
205 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
206 |
|
---|
207 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("Windows2016"), "Windows Server 2016 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
208 | VBOXOSTYPE_Win2k16_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
209 | 1, 2048, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
210 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
211 |
|
---|
212 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("Windows2019"), "Windows Server 2019 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
213 | VBOXOSTYPE_Win2k19_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
214 | 1, 2048, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
215 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
216 |
|
---|
217 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("Windows11"), "Windows 11 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
218 | VBOXOSTYPE_Win11_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_EFI_SECUREBOOT | VBOXOSHINT_TPM2 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
219 | 2, 4096, 128, 80 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
220 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
221 |
|
---|
222 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_A64("Windows11"), "Windows 11 on ARM (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN_A64, VBOX_OSTYPE_ARM64(Win11), VBOXOSHINT_64BIT | VBOXOSHINT_EFI | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_EFI_SECUREBOOT | VBOXOSHINT_TPM2 | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBHID,
|
---|
223 | 2, 4096, 128, 80 * _1G64, GraphicsControllerType_QemuRamFB, NetworkAdapterType_I82540EM, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI,
|
---|
224 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
225 |
|
---|
226 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("Windows2022"), "Windows Server 2022 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
227 | VBOXOSTYPE_Win2k22_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
228 | 1, 2048, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
229 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
230 |
|
---|
231 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("Windows2025"), "Windows Server 2025 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
232 | VBOXOSTYPE_Win2k25_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
233 | 1, 2048, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
234 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
235 |
|
---|
236 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X86("WindowsNT"), "Other Windows (32-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
237 | VBOXOSTYPE_WinNT, VBOXOSHINT_NONE,
|
---|
238 | 1, 512, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
239 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
240 |
|
---|
241 | { "Windows", "Microsoft Windows", "", GUEST_OS_ID_STR_X64("WindowsNT"), "Other Windows (64-bit)", VBOX_GUEST_ADDITIONS_NAME_WIN,
|
---|
242 | VBOXOSTYPE_WinNT_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_PAE | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET,
|
---|
243 | 1, 512, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
244 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
245 |
|
---|
246 | #define VBOX_LINUX_OSHINTS_A_X86 (VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X86_X2APIC | VBOXOSHINT_X86_PAE)
|
---|
247 | #define VBOX_LINUX_OSHINTS_A_X64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X86_X2APIC | VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC)
|
---|
248 |
|
---|
249 | #define VBOX_LINUX_OSHINTS_B_X86 (VBOXOSHINT_RTCUTC | VBOXOSHINT_X86_PAE | VBOXOSHINT_X86_X2APIC)
|
---|
250 | #define VBOX_LINUX_OSHINTS_B_X64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_X86_PAE | VBOXOSHINT_X86_X2APIC | VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC)
|
---|
251 |
|
---|
252 | #define VBOX_LINUX_OSHINTS_C_X86 (VBOXOSHINT_RTCUTC | VBOXOSHINT_X86_X2APIC | VBOXOSHINT_X86_PAE)
|
---|
253 | #define VBOX_LINUX_OSHINTS_C_X64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_X86_X2APIC | VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC)
|
---|
254 |
|
---|
255 | #define VBOX_LINUX_OSHINTS_D_X86 (VBOXOSHINT_RTCUTC | VBOXOSHINT_X86_PAE)
|
---|
256 | #define VBOX_LINUX_OSHINTS_D_X64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC)
|
---|
257 |
|
---|
258 | #define VBOX_LINUX_OSHINTS_ARM64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USBHID | VBOXOSHINT_EFI | VBOXOSHINT_64BIT | VBOXOSHINT_USB3)
|
---|
259 |
|
---|
260 | #define VBOX_LINUX_SUBTYPE_TEMPLATE_X86(a_szSubtype, a_Id, a_Description, a_OStype, a_OSHint, a_Memory, a_Vram, a_Diskspace, \
|
---|
261 | a_NetworkAdapter, a_HDStorageController, a_HDStorageBusType) \
|
---|
262 | { "Linux", "Linux", a_szSubtype, GUEST_OS_ID_STR_X86(#a_Id), a_Description, VBOX_GUEST_ADDITIONS_NAME_LNX_X86, VBOX_OSTYPE_X86(a_OStype), a_OSHint, \
|
---|
263 | 1, a_Memory, a_Vram, a_Diskspace * _1G64, GraphicsControllerType_VMSVGA, a_NetworkAdapter, 0, StorageControllerType_PIIX4, StorageBus_IDE, \
|
---|
264 | a_HDStorageController, a_HDStorageBusType, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_AD1980 }
|
---|
265 |
|
---|
266 | #define VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_szSubtype, a_Id, a_Description, a_OStype, a_OSHint, a_Memory, a_Vram, a_Diskspace, \
|
---|
267 | a_NetworkAdapter, a_HDStorageController, a_HDStorageBusType) \
|
---|
268 | { "Linux", "Linux", a_szSubtype, GUEST_OS_ID_STR_X64(#a_Id), a_Description, VBOX_GUEST_ADDITIONS_NAME_LNX_X86, VBOX_OSTYPE_X64(a_OStype), a_OSHint, \
|
---|
269 | 1, a_Memory, a_Vram, a_Diskspace * _1G64, GraphicsControllerType_VMSVGA, a_NetworkAdapter, 0, StorageControllerType_PIIX4, StorageBus_IDE, \
|
---|
270 | a_HDStorageController, a_HDStorageBusType, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_AD1980 }
|
---|
271 |
|
---|
272 | #define VBOX_LINUX_SUBTYPE_TEMPLATE_A64_QEMURAMFB(a_szSubtype, a_Id, a_Description, a_OStype, a_OSHint, a_Memory, a_Vram, a_Diskspace, \
|
---|
273 | a_NetworkAdapter, a_HDStorageController, a_HDStorageBusType) \
|
---|
274 | { "Linux", "Linux", a_szSubtype, GUEST_OS_ID_STR_A64(#a_Id), a_Description, VBOX_GUEST_ADDITIONS_NAME_LNX_A64, VBOX_OSTYPE_ARM64(a_OStype), a_OSHint, \
|
---|
275 | 1, a_Memory, a_Vram, a_Diskspace * _1G64, GraphicsControllerType_QemuRamFB, a_NetworkAdapter, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, \
|
---|
276 | a_HDStorageController, a_HDStorageBusType, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 }
|
---|
277 |
|
---|
278 | #define VBOX_LINUX_SUBTYPE_TEMPLATE_A64(a_szSubtype, a_Id, a_Description, a_OStype, a_OSHint, a_Memory, a_Vram, a_Diskspace, \
|
---|
279 | a_NetworkAdapter, a_HDStorageController, a_HDStorageBusType) \
|
---|
280 | { "Linux", "Linux", a_szSubtype, GUEST_OS_ID_STR_A64(#a_Id), a_Description, VBOX_GUEST_ADDITIONS_NAME_LNX_A64, VBOX_OSTYPE_ARM64(a_OStype), a_OSHint, \
|
---|
281 | 1, a_Memory, a_Vram, a_Diskspace * _1G64, GraphicsControllerType_VMSVGA, a_NetworkAdapter, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, \
|
---|
282 | a_HDStorageController, a_HDStorageBusType, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 }
|
---|
283 |
|
---|
284 | /* Linux x86 32-bit sub-type template defaulting to 1 CPU with USB-tablet-mouse/VMSVGA/Intel-Pro1000/PIIX4+IDE DVD/AHCI+SATA disk/AC97 */
|
---|
285 | #define VBOX_LINUX_SUBTYPE_A_X86(a_szSubtype, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
286 | VBOX_LINUX_SUBTYPE_TEMPLATE_X86(a_szSubtype, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_A_X86, a_Memory, a_Vram, a_Diskspace, \
|
---|
287 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
288 |
|
---|
289 | /* Linux x86 64-bit sub-type template defaulting to 1 CPU with USB-tablet-mouse/VMSVGA/Intel-Pro1000/PIIX4+IDE DVD/AHCI+SATA disk/AC97 */
|
---|
290 | #define VBOX_LINUX_SUBTYPE_A_X64(a_szSubtype, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
291 | VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_szSubtype, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_A_X64, a_Memory, a_Vram, a_Diskspace, \
|
---|
292 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
293 |
|
---|
294 | #define VBOX_LINUX_SUBTYPE_A_A64(a_szSubtype, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
295 | VBOX_LINUX_SUBTYPE_TEMPLATE_A64(a_szSubtype, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_ARM64, a_Memory, a_Vram, a_Diskspace, \
|
---|
296 | NetworkAdapterType_I82540EM, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI)
|
---|
297 |
|
---|
298 | #define VBOX_LINUX_SUBTYPE_A_WITH_OSTYPE_X86(a_szSubtype, a_Id, a_Description, a_OStype, a_Memory, a_Vram, a_Diskspace) \
|
---|
299 | VBOX_LINUX_SUBTYPE_TEMPLATE_X86(a_szSubtype, a_Id, a_Description, a_OStype, VBOX_LINUX_OSHINTS_A_X86, a_Memory, a_Vram, a_Diskspace, \
|
---|
300 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
301 |
|
---|
302 | #define VBOX_LINUX_SUBTYPE_A_WITH_OSTYPE_X64(a_szSubtype, a_Id, a_Description, a_OStype, a_Memory, a_Vram, a_Diskspace) \
|
---|
303 | VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_szSubtype, a_Id, a_Description, a_OStype, VBOX_LINUX_OSHINTS_A_X64, a_Memory, a_Vram, a_Diskspace, \
|
---|
304 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
305 |
|
---|
306 | #define VBOX_LINUX_SUBTYPE_A_WITH_OSTYPE_A64(a_szSubtype, a_Id, a_Description, a_OStype, a_Memory, a_Vram, a_Diskspace) \
|
---|
307 | VBOX_LINUX_SUBTYPE_TEMPLATE_A64(a_szSubtype, a_Id, a_Description, a_OStype, VBOX_LINUX_OSHINTS_ARM64, a_Memory, a_Vram, a_Diskspace, \
|
---|
308 | NetworkAdapterType_I82540EM, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI)
|
---|
309 |
|
---|
310 | /* Linux x86 32-bit sub-type template defaulting to 1 CPU with PS/2-mouse/PAE-NX/VMSVGA/Intel-Pro1000/PIIX4+IDE DVD/AHCI+SATA disk/AC97 */
|
---|
311 | #define VBOX_LINUX_SUBTYPE_B_X86(a_szSubtype, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
312 | VBOX_LINUX_SUBTYPE_TEMPLATE_X86(a_szSubtype, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_B_X86, a_Memory, a_Vram, a_Diskspace, \
|
---|
313 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
314 |
|
---|
315 | /* Linux 64-bit sub-type template defaulting to 1 CPU with PS/2-mouse/PAE-NX/VMSVGA/Intel-Pro1000/PIIX4+IDE DVD/AHCI+SATA disk/AC97 */
|
---|
316 | #define VBOX_LINUX_SUBTYPE_B_X64(a_szSubtype, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
317 | VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_szSubtype, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_B_X64, a_Memory, a_Vram, a_Diskspace, \
|
---|
318 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
319 |
|
---|
320 | #define VBOX_LINUX_SUBTYPE_B_A64(a_szSubtype, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
321 | VBOX_LINUX_SUBTYPE_TEMPLATE_A64_QEMURAMFB(a_szSubtype, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_ARM64, a_Memory, a_Vram, a_Diskspace, \
|
---|
322 | NetworkAdapterType_I82540EM, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI)
|
---|
323 |
|
---|
324 | /* Linux 32-bit sub-type template defaulting to 1 CPU with PS/2-mouse/VMSVGA/Intel-Pro1000/PIIX4+IDE DVD/AHCI+SATA disk/AC97 */
|
---|
325 | #define VBOX_LINUX_SUBTYPE_C_X86(a_szSubtype, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
326 | VBOX_LINUX_SUBTYPE_TEMPLATE_X86(a_szSubtype, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_C_X86, a_Memory, a_Vram, a_Diskspace, \
|
---|
327 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
328 |
|
---|
329 | /* Linux 64-bit sub-type template defaulting to 1 CPU with PS/2-mouse/VMSVGA/Intel-Pro1000/PIIX4+IDE DVD/AHCI+SATA disk/AC97 */
|
---|
330 | #define VBOX_LINUX_SUBTYPE_C_X64(a_szSubtype, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
331 | VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_szSubtype, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_C_X64, a_Memory, a_Vram, a_Diskspace, \
|
---|
332 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
333 |
|
---|
334 | /* Linux 32-bit sub-type template defaulting to 1 CPU with PS/2-mouse/VMSVGA/PCnet-FASTIII/PIIX4+IDE DVD/PIIX4+IDE disk/AC97 */
|
---|
335 | #define VBOX_LINUX_SUBTYPE_D_X86(a_szSubtype, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
336 | VBOX_LINUX_SUBTYPE_TEMPLATE_X86(a_szSubtype, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_D_X86, a_Memory, a_Vram, a_Diskspace, \
|
---|
337 | NetworkAdapterType_Am79C973, StorageControllerType_PIIX4, StorageBus_IDE)
|
---|
338 |
|
---|
339 | /* Linux 64-bit sub-type template defaulting to 1 CPU with PS/2-mouse/VMSVGA/PCnet-FASTIII/PIIX4+IDE DVD/PIIX4+IDE disk/AC97 */
|
---|
340 | #define VBOX_LINUX_SUBTYPE_D_X64(a_szSubtype, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
341 | VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_szSubtype, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_D_X64, a_Memory, a_Vram, a_Diskspace, \
|
---|
342 | NetworkAdapterType_I82540EM, StorageControllerType_PIIX4, StorageBus_IDE)
|
---|
343 |
|
---|
344 | VBOX_LINUX_SUBTYPE_D_X86("Linux 2.2", Linux22, "Linux 2.2 (32-bit)", 64, 4, 2),
|
---|
345 | VBOX_LINUX_SUBTYPE_D_X86("Linux 2.4", Linux24, "Linux 2.4 (32-bit)", 128, 16, 2),
|
---|
346 | VBOX_LINUX_SUBTYPE_D_X64("Linux 2.4", Linux24, "Linux 2.4 (64-bit)", 1024, 16, 4),
|
---|
347 | VBOX_LINUX_SUBTYPE_A_X86("Linux 2.6", Linux26, "Linux 2.6 / 3.x / 4.x / 5.x (32-bit)", 1024, 16, 8),
|
---|
348 | VBOX_LINUX_SUBTYPE_A_X64("Linux 2.6", Linux26, "Linux 2.6 / 3.x / 4.x / 5.x (64-bit)", 1024, 16, 8),
|
---|
349 |
|
---|
350 | VBOX_LINUX_SUBTYPE_A_X86("ArchLinux", ArchLinux, "Arch Linux (32-bit)", 1024, 16, 8),
|
---|
351 | VBOX_LINUX_SUBTYPE_A_X64("ArchLinux", ArchLinux, "Arch Linux (64-bit)", 1024, 16, 8),
|
---|
352 | VBOX_LINUX_SUBTYPE_A_A64("ArchLinux", ArchLinux, "Arch Linux (ARM 64-bit)", 1024, 128, 8),
|
---|
353 |
|
---|
354 | VBOX_LINUX_SUBTYPE_A_X86("Debian", Debian, "Debian (32-bit)", 2048, 16, 20),
|
---|
355 | VBOX_LINUX_SUBTYPE_A_X64("Debian", Debian, "Debian (64-bit)", 2048, 16, 20),
|
---|
356 | VBOX_LINUX_SUBTYPE_A_A64("Debian", Debian, "Debian (ARM 64-bit)", 2048, 128, 20),
|
---|
357 | VBOX_LINUX_SUBTYPE_A_X86("Debian", Debian31, "Debian 3.1 Sarge (32-bit)", 1024, 16, 8), // 32-bit only
|
---|
358 | VBOX_LINUX_SUBTYPE_A_X86("Debian", Debian4, "Debian 4.0 Etch (32-bit)", 1024, 16, 8),
|
---|
359 | VBOX_LINUX_SUBTYPE_A_X64("Debian", Debian4, "Debian 4.0 Etch (64-bit)", 1024, 16, 8),
|
---|
360 | VBOX_LINUX_SUBTYPE_A_X86("Debian", Debian5, "Debian 5.0 Lenny (32-bit)", 1024, 16, 8),
|
---|
361 | VBOX_LINUX_SUBTYPE_A_X64("Debian", Debian5, "Debian 5.0 Lenny (64-bit)", 1024, 16, 8),
|
---|
362 | VBOX_LINUX_SUBTYPE_A_X86("Debian", Debian6, "Debian 6.0 Squeeze (32-bit)", 1024, 16, 8),
|
---|
363 | VBOX_LINUX_SUBTYPE_A_X64("Debian", Debian6, "Debian 6.0 Squeeze (64-bit)", 1024, 16, 8),
|
---|
364 | VBOX_LINUX_SUBTYPE_A_X86("Debian", Debian7, "Debian 7 Wheezy (32-bit)", 2048, 16, 20),
|
---|
365 | VBOX_LINUX_SUBTYPE_A_X64("Debian", Debian7, "Debian 7 Wheezy (64-bit)", 2048, 16, 20),
|
---|
366 | VBOX_LINUX_SUBTYPE_A_X86("Debian", Debian8, "Debian 8 Jessie (32-bit)", 2048, 16, 20),
|
---|
367 | VBOX_LINUX_SUBTYPE_A_X64("Debian", Debian8, "Debian 8 Jessie (64-bit)", 2048, 16, 20),
|
---|
368 | VBOX_LINUX_SUBTYPE_A_X86("Debian", Debian9, "Debian 9 Stretch (32-bit)", 2048, 16, 20),
|
---|
369 | VBOX_LINUX_SUBTYPE_A_X64("Debian", Debian9, "Debian 9 Stretch (64-bit)", 2048, 16, 20),
|
---|
370 | VBOX_LINUX_SUBTYPE_A_A64("Debian", Debian9, "Debian 9 Stretch (ARM 64-bit)", 2048, 16, 20),
|
---|
371 | VBOX_LINUX_SUBTYPE_A_X86("Debian", Debian10, "Debian 10 Buster (32-bit)", 2048, 16, 20),
|
---|
372 | VBOX_LINUX_SUBTYPE_A_X64("Debian", Debian10, "Debian 10 Buster (64-bit)", 2048, 16, 20),
|
---|
373 | VBOX_LINUX_SUBTYPE_A_A64("Debian", Debian10, "Debian 10 Buster (ARM 64-bit)", 2048, 16, 20),
|
---|
374 | VBOX_LINUX_SUBTYPE_A_X86("Debian", Debian11, "Debian 11 Bullseye (32-bit)", 2048, 16, 20),
|
---|
375 | VBOX_LINUX_SUBTYPE_A_X64("Debian", Debian11, "Debian 11 Bullseye (64-bit)", 2048, 16, 20),
|
---|
376 | VBOX_LINUX_SUBTYPE_A_A64("Debian", Debian11, "Debian 11 Bullseye (ARM 64-bit)", 2048, 16, 20),
|
---|
377 | VBOX_LINUX_SUBTYPE_A_X86("Debian", Debian12, "Debian 12 Bookworm (32-bit)", 2048, 16, 20),
|
---|
378 | VBOX_LINUX_SUBTYPE_A_X64("Debian", Debian12, "Debian 12 Bookworm (64-bit)", 2048, 16, 20),
|
---|
379 | VBOX_LINUX_SUBTYPE_A_A64("Debian", Debian12, "Debian 12 Bookworm (ARM 64-bit)", 2048, 16, 20),
|
---|
380 |
|
---|
381 | /** @todo rename VBOXOSTYPE entries to Fedora to avoid this? */
|
---|
382 | VBOX_LINUX_SUBTYPE_A_WITH_OSTYPE_X86("Fedora", Fedora, "Fedora (32-bit)", FedoraCore, 2048, 16, 15),
|
---|
383 | VBOX_LINUX_SUBTYPE_A_WITH_OSTYPE_X64("Fedora", Fedora, "Fedora (64-bit)", FedoraCore, 2048, 16, 15),
|
---|
384 | VBOX_LINUX_SUBTYPE_A_WITH_OSTYPE_A64("Fedora", Fedora, "Fedora (ARM 64-bit)", FedoraCore, 2048, 16, 15),
|
---|
385 |
|
---|
386 | VBOX_LINUX_SUBTYPE_A_X86("Gentoo", Gentoo, "Gentoo (32-bit)", 1024, 16, 8),
|
---|
387 | VBOX_LINUX_SUBTYPE_A_X64("Gentoo", Gentoo, "Gentoo (64-bit)", 1024, 16, 8),
|
---|
388 |
|
---|
389 | VBOX_LINUX_SUBTYPE_A_X86("Mandriva", Mandriva, "Mandriva (32-bit)", 1024, 16, 8),
|
---|
390 | VBOX_LINUX_SUBTYPE_A_X64("Mandriva", Mandriva, "Mandriva (64-bit)", 1024, 16, 8),
|
---|
391 | VBOX_LINUX_SUBTYPE_A_X86("Mandriva", OpenMandriva_Lx, "OpenMandriva Lx (32-bit)", 2048, 16, 10),
|
---|
392 | VBOX_LINUX_SUBTYPE_A_X64("Mandriva", OpenMandriva_Lx, "OpenMandriva Lx (64-bit)", 2048, 16, 10),
|
---|
393 | VBOX_LINUX_SUBTYPE_A_X86("PCLinuxOS", PCLinuxOS, "PCLinuxOS / PCLOS (32-bit)", 2048, 16, 10),
|
---|
394 | VBOX_LINUX_SUBTYPE_A_X64("PCLinuxOS", PCLinuxOS, "PCLinuxOS / PCLOS (64-bit)", 2048, 16, 10),
|
---|
395 | VBOX_LINUX_SUBTYPE_A_X86("Mageia", Mageia, "Mageia (32-bit)", 2048, 16, 10),
|
---|
396 | VBOX_LINUX_SUBTYPE_A_X64("Mageia", Mageia, "Mageia (64-bit)", 2048, 16, 10),
|
---|
397 |
|
---|
398 | VBOX_LINUX_SUBTYPE_B_X86("Oracle Linux", Oracle, "Oracle Linux (32-bit)", 2048, 16, 20),
|
---|
399 | VBOX_LINUX_SUBTYPE_B_X64("Oracle Linux", Oracle, "Oracle Linux (64-bit)", 2048, 16, 20),
|
---|
400 | VBOX_LINUX_SUBTYPE_B_A64("Oracle Linux", Oracle, "Oracle Linux (ARM 64-bit)", 2048, 16, 20),
|
---|
401 | VBOX_LINUX_SUBTYPE_B_X86("Oracle Linux", Oracle4, "Oracle Linux 4.x (32-bit)", 1024, 16, 8),
|
---|
402 | VBOX_LINUX_SUBTYPE_B_X64("Oracle Linux", Oracle4, "Oracle Linux 4.x (64-bit)", 1024, 16, 8),
|
---|
403 | VBOX_LINUX_SUBTYPE_B_X86("Oracle Linux", Oracle5, "Oracle Linux 5.x (32-bit)", 1024, 16, 8),
|
---|
404 | VBOX_LINUX_SUBTYPE_B_X64("Oracle Linux", Oracle5, "Oracle Linux 5.x (64-bit)", 1024, 16, 8),
|
---|
405 | VBOX_LINUX_SUBTYPE_B_X86("Oracle Linux", Oracle6, "Oracle Linux 6.x (32-bit)", 2048, 16, 10),
|
---|
406 | VBOX_LINUX_SUBTYPE_B_X64("Oracle Linux", Oracle6, "Oracle Linux 6.x (64-bit)", 2048, 16, 10),
|
---|
407 | VBOX_LINUX_SUBTYPE_B_X64("Oracle Linux", Oracle7, "Oracle Linux 7.x (64-bit)", 2048, 16, 20), // 64-bit only
|
---|
408 | VBOX_LINUX_SUBTYPE_B_A64("Oracle Linux", Oracle7, "Oracle Linux 7.x (ARM 64-bit)", 2048, 16, 20), // 64-bit only
|
---|
409 | VBOX_LINUX_SUBTYPE_B_X64("Oracle Linux", Oracle8, "Oracle Linux 8.x (64-bit)", 2048, 16, 20), // 64-bit only
|
---|
410 | VBOX_LINUX_SUBTYPE_B_A64("Oracle Linux", Oracle8, "Oracle Linux 8.x (ARM 64-bit)", 2048, 16, 20), // 64-bit only
|
---|
411 | VBOX_LINUX_SUBTYPE_B_X64("Oracle Linux", Oracle9, "Oracle Linux 9.x (64-bit)", 2048, 16, 20), // 64-bit only
|
---|
412 | VBOX_LINUX_SUBTYPE_B_A64("Oracle Linux", Oracle9, "Oracle Linux 9.x (ARM 64-bit)", 2048, 16, 20), // 64-bit only
|
---|
413 |
|
---|
414 | VBOX_LINUX_SUBTYPE_B_X86("Red Hat", RedHat, "Red Hat (32-bit)", 2048, 16, 20),
|
---|
415 | VBOX_LINUX_SUBTYPE_B_X64("Red Hat", RedHat, "Red Hat (64-bit)", 2048, 16, 20),
|
---|
416 | VBOX_LINUX_SUBTYPE_B_X86("Red Hat", RedHat3, "Red Hat 3.x (32-bit)", 1024, 16, 8),
|
---|
417 | VBOX_LINUX_SUBTYPE_B_X64("Red Hat", RedHat3, "Red Hat 3.x (64-bit)", 1024, 16, 8),
|
---|
418 | VBOX_LINUX_SUBTYPE_B_X86("Red Hat", RedHat4, "Red Hat 4.x (32-bit)", 1024, 16, 8),
|
---|
419 | VBOX_LINUX_SUBTYPE_B_X64("Red Hat", RedHat4, "Red Hat 4.x (64-bit)", 1024, 16, 8),
|
---|
420 | VBOX_LINUX_SUBTYPE_B_X86("Red Hat", RedHat5, "Red Hat 5.x (32-bit)", 1024, 16, 8),
|
---|
421 | VBOX_LINUX_SUBTYPE_B_X64("Red Hat", RedHat5, "Red Hat 5.x (64-bit)", 1024, 16, 8),
|
---|
422 | VBOX_LINUX_SUBTYPE_B_X86("Red Hat", RedHat6, "Red Hat 6.x (32-bit)", 1024, 16, 10),
|
---|
423 | VBOX_LINUX_SUBTYPE_B_X64("Red Hat", RedHat6, "Red Hat 6.x (64-bit)", 1024, 16, 10),
|
---|
424 | VBOX_LINUX_SUBTYPE_B_X64("Red Hat", RedHat7, "Red Hat 7.x (64-bit)", 2048, 16, 20), // 64-bit only
|
---|
425 | VBOX_LINUX_SUBTYPE_B_A64("Red Hat", RedHat7, "Red Hat 7.x (ARM 64-bit)", 2048, 16, 20), // 64-bit only
|
---|
426 | VBOX_LINUX_SUBTYPE_B_X64("Red Hat", RedHat8, "Red Hat 8.x (64-bit)", 2048, 16, 20), // 64-bit only
|
---|
427 | VBOX_LINUX_SUBTYPE_B_A64("Red Hat", RedHat8, "Red Hat 8.x (ARM 64-bit)", 2048, 16, 20), // 64-bit only
|
---|
428 | VBOX_LINUX_SUBTYPE_B_X64("Red Hat", RedHat9, "Red Hat 9.x (64-bit)", 2048, 16, 20), // 64-bit only
|
---|
429 | VBOX_LINUX_SUBTYPE_B_X64("Red Hat", RedHat9, "Red Hat 9.x (ARM 64-bit)", 2048, 16, 20), // 64-bit only
|
---|
430 |
|
---|
431 | VBOX_LINUX_SUBTYPE_A_X86("openSUSE", OpenSUSE, "openSUSE (32-bit)", 1024, 16, 8),
|
---|
432 | VBOX_LINUX_SUBTYPE_A_X64("openSUSE", OpenSUSE, "openSUSE (64-bit)", 1024, 16, 8),
|
---|
433 | VBOX_LINUX_SUBTYPE_A_X64("openSUSE", OpenSUSE_Leap, "openSUSE Leap (64-bit)", 2048, 16, 8), // 64-bit only
|
---|
434 | VBOX_LINUX_SUBTYPE_A_A64("openSUSE", OpenSUSE_Leap, "openSUSE Leap (ARM 64-bit)", 2048, 16, 8), // 64-bit only
|
---|
435 | VBOX_LINUX_SUBTYPE_A_X86("openSUSE", OpenSUSE_Tumbleweed, "openSUSE Tumbleweed (32-bit)", 2048, 16, 8),
|
---|
436 | VBOX_LINUX_SUBTYPE_A_X64("openSUSE", OpenSUSE_Tumbleweed, "openSUSE Tumbleweed (64-bit)", 2048, 16, 8),
|
---|
437 | VBOX_LINUX_SUBTYPE_B_A64("openSUSE", OpenSUSE_Tumbleweed, "openSUSE Tumbleweed (ARM 64-bit)", 2048, 16, 8),
|
---|
438 | VBOX_LINUX_SUBTYPE_A_X86("SUSE", SUSE_LE, "SUSE Linux Enterprise (32-bit)", 2048, 16, 8),
|
---|
439 | VBOX_LINUX_SUBTYPE_A_X64("SUSE", SUSE_LE, "SUSE Linux Enterprise (64-bit)", 2048, 16, 8),
|
---|
440 |
|
---|
441 | VBOX_LINUX_SUBTYPE_A_X86("TurboLinux", Turbolinux, "Turbolinux (32-bit)", 384, 16, 8),
|
---|
442 | VBOX_LINUX_SUBTYPE_A_X64("TurboLinux", Turbolinux, "Turbolinux (64-bit)", 384, 16, 8),
|
---|
443 |
|
---|
444 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu, "Ubuntu (32-bit)", 2048, 16, 25),
|
---|
445 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu, "Ubuntu (64-bit)", 2048, 16, 25),
|
---|
446 | VBOX_LINUX_SUBTYPE_A_A64("Ubuntu", Ubuntu, "Ubuntu (ARM 64-bit)", 2048, 16, 25),
|
---|
447 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu10_LTS, "Ubuntu 10.04 LTS (Lucid Lynx) (32-bit)", 256, 16, 3),
|
---|
448 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu10_LTS, "Ubuntu 10.04 LTS (Lucid Lynx) (64-bit)", 256, 16, 3),
|
---|
449 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu10, "Ubuntu 10.10 (Maverick Meerkat) (32-bit)", 256, 16, 3),
|
---|
450 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu10, "Ubuntu 10.10 (Maverick Meerkat) (64-bit)", 256, 16, 3),
|
---|
451 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu11, "Ubuntu 11.04 (Natty Narwhal) / 11.10 (Oneiric Ocelot) (32-bit)", 384, 16, 5),
|
---|
452 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu11, "Ubuntu 11.04 (Natty Narwhal) / 11.10 (Oneiric Ocelot) (64-bit)", 384, 16, 5),
|
---|
453 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu12_LTS, "Ubuntu 12.04 LTS (Precise Pangolin) (32-bit)", 768, 16, 5),
|
---|
454 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu12_LTS, "Ubuntu 12.04 LTS (Precise Pangolin) (64-bit)", 768, 16, 5),
|
---|
455 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu12, "Ubuntu 12.10 (Quantal Quetzal) (32-bit)", 768, 16, 5),
|
---|
456 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu12, "Ubuntu 12.10 (Quantal Quetzal) (64-bit)", 768, 16, 5),
|
---|
457 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu13, "Ubuntu 13.04 (Raring Ringtail) / 13.10 (Saucy Salamander) (32-bit)", 768, 16, 5),
|
---|
458 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu13, "Ubuntu 13.04 (Raring Ringtail) / 13.10 (Saucy Salamander) (64-bit)", 768, 16, 5),
|
---|
459 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu14_LTS, "Ubuntu 14.04 LTS (Trusty Tahr) (32-bit)", 1536, 16, 7),
|
---|
460 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu14_LTS, "Ubuntu 14.04 LTS (Trusty Tahr) (64-bit)", 1536, 16, 7),
|
---|
461 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu14, "Ubuntu 14.10 (Utopic Unicorn) (32-bit)", 1536, 16, 7),
|
---|
462 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu14, "Ubuntu 14.10 (Utopic Unicorn) (64-bit)", 1536, 16, 7),
|
---|
463 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu15, "Ubuntu 15.04 (Vivid Vervet) / 15.10 (Wily Werewolf) (32-bit)", 1536, 16, 7),
|
---|
464 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu15, "Ubuntu 15.04 (Vivid Vervet) / 15.10 (Wily Werewolf) (64-bit)", 1536, 16, 7),
|
---|
465 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu16_LTS, "Ubuntu 16.04 LTS (Xenial Xerus) (32-bit)", 1536, 16, 10),
|
---|
466 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu16_LTS, "Ubuntu 16.04 LTS (Xenial Xerus) (64-bit)", 1536, 16, 10),
|
---|
467 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu16, "Ubuntu 16.10 (Yakkety Yak) (32-bit)", 1536, 16, 10),
|
---|
468 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu16, "Ubuntu 16.10 (Yakkety Yak) (64-bit)", 1536, 16, 10),
|
---|
469 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu17, "Ubuntu 17.04 (Zesty Zapus) / 17.10 (Artful Aardvark) (32-bit)", 1536, 16, 10),
|
---|
470 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu17, "Ubuntu 17.04 (Zesty Zapus) / 17.10 (Artful Aardvark) (64-bit)", 1536, 16, 10),
|
---|
471 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu18_LTS, "Ubuntu 18.04 LTS (Bionic Beaver) (32-bit)", 2048, 16, 25),
|
---|
472 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu18_LTS, "Ubuntu 18.04 LTS (Bionic Beaver) (64-bit)", 2048, 16, 25),
|
---|
473 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu18, "Ubuntu 18.10 (Cosmic Cuttlefish) (32-bit)", 2048, 16, 25),
|
---|
474 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu18, "Ubuntu 18.10 (Cosmic Cuttlefish) (64-bit)", 2048, 16, 25),
|
---|
475 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Ubuntu19, "Ubuntu 19.04 (Disco Dingo) / 19.10 (Eoan Ermine) (32-bit)", 2048, 16, 25),
|
---|
476 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu19, "Ubuntu 19.04 (Disco Dingo) / 19.10 (Eoan Ermine) (64-bit)", 2048, 16, 25),
|
---|
477 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu20_LTS, "Ubuntu 20.04 LTS (Focal Fossa) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
478 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu20, "Ubuntu 20.10 (Groovy Gorilla) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
479 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu21, "Ubuntu 21.04 (Hirsute Hippo) / 21.10 (Impish Indri) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
480 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu22_LTS, "Ubuntu 22.04 LTS (Jammy Jellyfish) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
481 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu22, "Ubuntu 22.10 (Kinetic Kudu) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
482 | VBOX_LINUX_SUBTYPE_A_A64("Ubuntu", Ubuntu22, "Ubuntu 22.10 (Kinetic Kudu) (ARM 64-bit)", 2048, 16, 25),
|
---|
483 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu23, "Ubuntu 23.04 (Lunar Lobster) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
484 | VBOX_LINUX_SUBTYPE_A_A64("Ubuntu", Ubuntu23, "Ubuntu 23.04 (Lunar Lobster) (ARM 64-bit)", 2048, 16, 25),
|
---|
485 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu231, "Ubuntu 23.10 (Mantic Minotaur) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
486 | VBOX_LINUX_SUBTYPE_A_A64("Ubuntu", Ubuntu231, "Ubuntu 23.10 (Mantic Minotaur) (ARM 64-bit)", 2048, 16, 25), // 64-bit only
|
---|
487 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu24_LTS, "Ubuntu 24.04 LTS (Noble Numbat) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
488 | VBOX_LINUX_SUBTYPE_A_A64("Ubuntu", Ubuntu24_LTS, "Ubuntu 24.04 LTS (Noble Numbat) (ARM 64-bit)", 2048, 16, 25),
|
---|
489 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Ubuntu24, "Ubuntu 24.10 (Oracular Oriole) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
490 | VBOX_LINUX_SUBTYPE_A_A64("Ubuntu", Ubuntu24, "Ubuntu 24.10 (Oracular Oriole) (ARM 64-bit)", 2048, 16, 25),
|
---|
491 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Lubuntu, "Lubuntu (32-bit)", 1024, 16, 10),
|
---|
492 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Lubuntu, "Lubuntu (64-bit)", 1024, 16, 10),
|
---|
493 | VBOX_LINUX_SUBTYPE_A_X86("Ubuntu", Xubuntu, "Xubuntu (32-bit)", 1024, 16, 10),
|
---|
494 | VBOX_LINUX_SUBTYPE_A_X64("Ubuntu", Xubuntu, "Xubuntu (64-bit)", 1024, 16, 10),
|
---|
495 |
|
---|
496 | VBOX_LINUX_SUBTYPE_C_X86("Xandros", Xandros, "Xandros (32-bit)", 1024, 16, 8),
|
---|
497 | VBOX_LINUX_SUBTYPE_C_X64("Xandros", Xandros, "Xandros (64-bit)", 1024, 16, 8),
|
---|
498 |
|
---|
499 | VBOX_LINUX_SUBTYPE_A_X86("Other Linux", Linux, "Other Linux (32-bit)", 256, 16, 8),
|
---|
500 | VBOX_LINUX_SUBTYPE_B_X64("Other Linux", Linux, "Other Linux (64-bit)", 512, 16, 8),
|
---|
501 |
|
---|
502 | { "Solaris", "Solaris", "", GUEST_OS_ID_STR_X86("Solaris"), "Oracle Solaris 10 5/09 and earlier (32-bit)", VBOX_GUEST_ADDITIONS_NAME_SOLARIS,
|
---|
503 | VBOXOSTYPE_Solaris, VBOXOSHINT_NONE,
|
---|
504 | 1, 1024, 16, 32 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
505 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
506 |
|
---|
507 | { "Solaris", "Solaris", "", GUEST_OS_ID_STR_X64("Solaris"), "Oracle Solaris 10 5/09 and earlier (64-bit)", VBOX_GUEST_ADDITIONS_NAME_SOLARIS,
|
---|
508 | VBOXOSTYPE_Solaris_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC,
|
---|
509 | 1, 2048, 16, 32 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
510 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
511 |
|
---|
512 | { "Solaris", "Solaris", "", GUEST_OS_ID_STR_X86("Solaris10U8_or_later"), "Oracle Solaris 10 10/09 and later (32-bit)", VBOX_GUEST_ADDITIONS_NAME_SOLARIS,
|
---|
513 | VBOXOSTYPE_Solaris10U8_or_later, VBOXOSHINT_USBTABLET,
|
---|
514 | 1, 1024, 16, 32 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
515 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
516 |
|
---|
517 | { "Solaris", "Solaris", "", GUEST_OS_ID_STR_X64("Solaris10U8_or_later"), "Oracle Solaris 10 10/09 and later (64-bit)", VBOX_GUEST_ADDITIONS_NAME_SOLARIS,
|
---|
518 | VBOXOSTYPE_Solaris10U8_or_later_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET,
|
---|
519 | 1, 2048, 16, 32 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
520 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
521 |
|
---|
522 | { "Solaris", "Solaris", "", GUEST_OS_ID_STR_X64("Solaris11"), "Oracle Solaris 11 (64-bit)", VBOX_GUEST_ADDITIONS_NAME_SOLARIS,
|
---|
523 | VBOXOSTYPE_Solaris11_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_RTCUTC,
|
---|
524 | 1, 4096, 16, 32 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
525 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
526 |
|
---|
527 | { "Solaris", "Solaris", "", GUEST_OS_ID_STR_X86("OpenSolaris"), "OpenSolaris / Illumos / OpenIndiana (32-bit)", VBOX_GUEST_ADDITIONS_NAME_SOLARIS,
|
---|
528 | VBOXOSTYPE_OpenSolaris, VBOXOSHINT_USBTABLET,
|
---|
529 | 1, 1024, 16, 32 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
530 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
531 |
|
---|
532 | { "Solaris", "Solaris", "", GUEST_OS_ID_STR_X64("OpenSolaris"), "OpenSolaris / Illumos / OpenIndiana (64-bit)", VBOX_GUEST_ADDITIONS_NAME_SOLARIS,
|
---|
533 | VBOXOSTYPE_OpenSolaris_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_USBTABLET,
|
---|
534 | 1, 2048, 16, 32 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
535 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
536 |
|
---|
537 | { "BSD", "BSD", "FreeBSD", GUEST_OS_ID_STR_X86("FreeBSD"), "FreeBSD (32-bit)", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
538 | VBOXOSTYPE_FreeBSD, VBOXOSHINT_NONE,
|
---|
539 | 1, 1024, 16, 2 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
540 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
541 |
|
---|
542 | { "BSD", "BSD", "FreeBSD", GUEST_OS_ID_STR_X64("FreeBSD"), "FreeBSD (64-bit)", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
543 | VBOXOSTYPE_FreeBSD_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC,
|
---|
544 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
545 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
546 |
|
---|
547 | { "BSD", "BSD", "FreeBSD", GUEST_OS_ID_STR_A64("FreeBSD"), "FreeBSD (ARM 64-bit)", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
548 | VBOXOSTYPE_FreeBSD_arm64, VBOXOSHINT_64BIT | VBOXOSHINT_USBHID | VBOXOSHINT_USB3,
|
---|
549 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI,
|
---|
550 | StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
551 |
|
---|
552 | { "BSD", "BSD", "OpenBSD", GUEST_OS_ID_STR_X86("OpenBSD"), "OpenBSD (32-bit)", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
553 | VBOXOSTYPE_OpenBSD, VBOXOSHINT_X86_HWVIRTEX,
|
---|
554 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
555 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
556 |
|
---|
557 | { "BSD", "BSD", "OpenBSD", GUEST_OS_ID_STR_X64("OpenBSD"), "OpenBSD (64-bit)", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
558 | VBOXOSTYPE_OpenBSD_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC,
|
---|
559 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
560 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
561 |
|
---|
562 | { "BSD", "BSD", "OpenBSD", GUEST_OS_ID_STR_A64("OpenBSD"), "OpenBSD (ARM 64-bit)", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
563 | VBOXOSTYPE_OpenBSD_arm64, VBOXOSHINT_64BIT | VBOXOSHINT_USBHID,
|
---|
564 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI,
|
---|
565 | StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
566 |
|
---|
567 | { "BSD", "BSD", "NetBSD", GUEST_OS_ID_STR_X86("NetBSD"), "NetBSD (32-bit)", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
568 | VBOXOSTYPE_NetBSD, VBOXOSHINT_RTCUTC,
|
---|
569 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
570 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
571 |
|
---|
572 | { "BSD", "BSD", "NetBSD", GUEST_OS_ID_STR_X64("NetBSD"), "NetBSD (64-bit)", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
573 | VBOXOSTYPE_NetBSD_x64, VBOXOSHINT_64BIT | VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_RTCUTC,
|
---|
574 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
575 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
576 |
|
---|
577 | { "BSD", "BSD", "NetBSD", GUEST_OS_ID_STR_A64("NetBSD"), "NetBSD (ARM 64-bit)", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
578 | VBOXOSTYPE_OpenBSD_arm64, VBOXOSHINT_64BIT | VBOXOSHINT_USBHID,
|
---|
579 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI,
|
---|
580 | StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
581 |
|
---|
582 | { "OS2", "IBM OS/2", "", GUEST_OS_ID_STR_X86("OS21x"), "OS/2 1.x", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
583 | VBOXOSTYPE_OS21x, VBOXOSHINT_FLOPPY | VBOXOSHINT_NOUSB | VBOXOSHINT_TFRESET,
|
---|
584 | 1, 8, 4, 500 * _1M, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
585 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
586 |
|
---|
587 | { "OS2", "IBM OS/2", "", GUEST_OS_ID_STR_X86("OS2Warp3"), "OS/2 Warp 3", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
588 | VBOXOSTYPE_OS2Warp3, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_FLOPPY,
|
---|
589 | 1, 48, 4, 1 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
590 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
591 |
|
---|
592 | { "OS2", "IBM OS/2", "", GUEST_OS_ID_STR_X86("OS2Warp4"), "OS/2 Warp 4", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
593 | VBOXOSTYPE_OS2Warp4, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_FLOPPY,
|
---|
594 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
595 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
596 |
|
---|
597 | { "OS2", "IBM OS/2", "", GUEST_OS_ID_STR_X86("OS2Warp45"), "OS/2 Warp 4.5", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
598 | VBOXOSTYPE_OS2Warp45, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_FLOPPY,
|
---|
599 | 1, 128, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
600 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
601 |
|
---|
602 | { "OS2", "IBM OS/2", "", GUEST_OS_ID_STR_X86("OS2eCS"), "eComStation", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
603 | VBOXOSTYPE_ECS, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_FLOPPY,
|
---|
604 | 1, 256, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
605 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
606 |
|
---|
607 | { "OS2", "IBM OS/2", "", GUEST_OS_ID_STR_X86("OS2ArcaOS"), "ArcaOS", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
608 | VBOXOSTYPE_ArcaOS, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_FLOPPY,
|
---|
609 | 1, 1024, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
610 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
611 |
|
---|
612 | { "OS2", "IBM OS/2", "", GUEST_OS_ID_STR_X86("OS2"), "Other OS/2", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
613 | VBOXOSTYPE_OS2, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_FLOPPY | VBOXOSHINT_NOUSB,
|
---|
614 | 1, 96, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
615 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
616 |
|
---|
617 | { "MacOS", "Mac OS X", "", GUEST_OS_ID_STR_X86("MacOS"), "Mac OS X (32-bit)", VBOX_GUEST_ADDITIONS_NAME_DARWIN,
|
---|
618 | VBOXOSTYPE_MacOS, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_X86_PAE
|
---|
619 | | VBOXOSHINT_USBHID | VBOXOSHINT_X86_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
620 | 1, 2048, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
621 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
622 |
|
---|
623 | { "MacOS", "Mac OS X", "", GUEST_OS_ID_STR_X64("MacOS"), "Mac OS X (64-bit)", VBOX_GUEST_ADDITIONS_NAME_DARWIN,
|
---|
624 | VBOXOSTYPE_MacOS_x64, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_X86_PAE | VBOXOSHINT_64BIT
|
---|
625 | | VBOXOSHINT_USBHID | VBOXOSHINT_X86_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
626 | 1, 2048, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
627 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
628 |
|
---|
629 | { "MacOS", "Mac OS X", "", GUEST_OS_ID_STR_X86("MacOS106"), "Mac OS X 10.6 Snow Leopard (32-bit)", VBOX_GUEST_ADDITIONS_NAME_DARWIN,
|
---|
630 | VBOXOSTYPE_MacOS106, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_X86_PAE
|
---|
631 | | VBOXOSHINT_USBHID | VBOXOSHINT_X86_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
632 | 1, 2048, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
633 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
634 |
|
---|
635 | { "MacOS", "Mac OS X", "", GUEST_OS_ID_STR_X64("MacOS106"), "Mac OS X 10.6 Snow Leopard (64-bit)", VBOX_GUEST_ADDITIONS_NAME_DARWIN,
|
---|
636 | VBOXOSTYPE_MacOS106_x64, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_X86_PAE | VBOXOSHINT_64BIT
|
---|
637 | | VBOXOSHINT_USBHID | VBOXOSHINT_X86_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
638 | 1, 2048, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
639 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
640 |
|
---|
641 | { "MacOS", "Mac OS X", "", GUEST_OS_ID_STR_X64("MacOS107"), "Mac OS X 10.7 Lion (64-bit)", VBOX_GUEST_ADDITIONS_NAME_DARWIN,
|
---|
642 | VBOXOSTYPE_MacOS107_x64, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_X86_PAE | VBOXOSHINT_64BIT
|
---|
643 | | VBOXOSHINT_USBHID | VBOXOSHINT_X86_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
644 | 1, 2048, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
645 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
646 |
|
---|
647 | { "MacOS", "Mac OS X", "", GUEST_OS_ID_STR_X64("MacOS108"), "Mac OS X 10.8 Mountain Lion (64-bit)", VBOX_GUEST_ADDITIONS_NAME_DARWIN, /* Aka "Mountain Kitten". */
|
---|
648 | VBOXOSTYPE_MacOS108_x64, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_X86_PAE | VBOXOSHINT_64BIT
|
---|
649 | | VBOXOSHINT_USBHID | VBOXOSHINT_X86_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
650 | 1, 2048, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
651 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
652 |
|
---|
653 | { "MacOS", "Mac OS X", "", GUEST_OS_ID_STR_X64("MacOS109"), "Mac OS X 10.9 Mavericks (64-bit)", VBOX_GUEST_ADDITIONS_NAME_DARWIN, /* Not to be confused with McCain. */
|
---|
654 | VBOXOSTYPE_MacOS109_x64, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_X86_PAE | VBOXOSHINT_64BIT
|
---|
655 | | VBOXOSHINT_USBHID | VBOXOSHINT_X86_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
656 | 1, 2048, 16, 25 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
657 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
658 |
|
---|
659 | { "MacOS", "Mac OS X", "", GUEST_OS_ID_STR_X64("MacOS1010"), "Mac OS X 10.10 Yosemite (64-bit)", VBOX_GUEST_ADDITIONS_NAME_DARWIN,
|
---|
660 | VBOXOSTYPE_MacOS1010_x64, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_X86_PAE | VBOXOSHINT_64BIT
|
---|
661 | | VBOXOSHINT_USBHID | VBOXOSHINT_X86_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
662 | 1, 2048, 16, 25 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
663 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
664 |
|
---|
665 | { "MacOS", "Mac OS X", "", GUEST_OS_ID_STR_X64("MacOS1011"), "Mac OS X 10.11 El Capitan (64-bit)", VBOX_GUEST_ADDITIONS_NAME_DARWIN,
|
---|
666 | VBOXOSTYPE_MacOS1011_x64, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_X86_PAE | VBOXOSHINT_64BIT
|
---|
667 | | VBOXOSHINT_USBHID | VBOXOSHINT_X86_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
668 | 1, 2048, 16, 30 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
669 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
670 |
|
---|
671 | { "MacOS", "Mac OS X", "", GUEST_OS_ID_STR_X64("MacOS1012"), "macOS 10.12 Sierra (64-bit)", VBOX_GUEST_ADDITIONS_NAME_DARWIN,
|
---|
672 | VBOXOSTYPE_MacOS1012_x64, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_X86_PAE | VBOXOSHINT_64BIT
|
---|
673 | | VBOXOSHINT_USBHID | VBOXOSHINT_X86_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
674 | 1, 2048, 16, 30 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
675 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
676 |
|
---|
677 | { "MacOS", "Mac OS X", "", GUEST_OS_ID_STR_X64("MacOS1013"), "macOS 10.13 High Sierra (64-bit)", VBOX_GUEST_ADDITIONS_NAME_DARWIN,
|
---|
678 | VBOXOSTYPE_MacOS1013_x64, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_X86_PAE | VBOXOSHINT_64BIT
|
---|
679 | | VBOXOSHINT_USBHID | VBOXOSHINT_X86_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
680 | 1, 2048, 16, 30 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
681 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
682 |
|
---|
683 | { "Other", "Other", "", GUEST_OS_ID_STR_X86("DOS"), "DOS", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
684 | VBOXOSTYPE_DOS, VBOXOSHINT_FLOPPY | VBOXOSHINT_NOUSB,
|
---|
685 | 1, 32, 4, 500 * _1M, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
686 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
687 |
|
---|
688 | { "Other", "Other", "", GUEST_OS_ID_STR_X86("Netware"), "Netware", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
689 | VBOXOSTYPE_Netware, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_FLOPPY | VBOXOSHINT_NOUSB,
|
---|
690 | 1, 512, 4, 4 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
691 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
692 |
|
---|
693 | { "Other", "Other", "", GUEST_OS_ID_STR_X86("L4"), "L4", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
694 | VBOXOSTYPE_L4, VBOXOSHINT_NONE,
|
---|
695 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
696 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
697 |
|
---|
698 | { "Other", "Other", "", GUEST_OS_ID_STR_X86("QNX"), "QNX", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
699 | VBOXOSTYPE_QNX, VBOXOSHINT_X86_HWVIRTEX,
|
---|
700 | 1, 512, 4, 4 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
701 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
702 |
|
---|
703 | { "Other", "Other", "", GUEST_OS_ID_STR_X86("JRockitVE"), "JRockitVE", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
704 | VBOXOSTYPE_JRockitVE, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_X86_PAE,
|
---|
705 | 1, 1024, 4, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
706 | StorageControllerType_BusLogic, StorageBus_SCSI, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
707 |
|
---|
708 | { "Other", "Other", "", GUEST_OS_ID_STR_X64("VBoxBS"), "VirtualBox Bootsector Test (64-bit)", VBOX_GUEST_ADDITIONS_NAME_NONE,
|
---|
709 | VBOXOSTYPE_VBoxBS_x64, VBOXOSHINT_X86_HWVIRTEX | VBOXOSHINT_FLOPPY | VBOXOSHINT_X86_IOAPIC | VBOXOSHINT_X86_PAE | VBOXOSHINT_64BIT,
|
---|
710 | 1, 128, 4, 0, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
711 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
712 | };
|
---|
713 |
|
---|
714 | size_t Global::cOSTypes = RT_ELEMENTS(Global::sOSTypes);
|
---|
715 |
|
---|
716 | /**
|
---|
717 | * Returns an OS Type ID for the given VBOXOSTYPE value.
|
---|
718 | *
|
---|
719 | * The returned ID will correspond to the IGuestOSType::id value of one of the
|
---|
720 | * objects stored in the IVirtualBox::guestOSTypes
|
---|
721 | * (VirtualBoxImpl::COMGETTER(GuestOSTypes)) collection.
|
---|
722 | */
|
---|
723 | /* static */
|
---|
724 | const char *Global::OSTypeId(VBOXOSTYPE aOSType)
|
---|
725 | {
|
---|
726 | for (size_t i = 0; i < RT_ELEMENTS(sOSTypes); ++i)
|
---|
727 | {
|
---|
728 | if (sOSTypes[i].osType == aOSType)
|
---|
729 | return sOSTypes[i].id;
|
---|
730 | }
|
---|
731 |
|
---|
732 | return sOSTypes[0].id;
|
---|
733 | }
|
---|
734 |
|
---|
735 | /**
|
---|
736 | * Maps an OS type ID string to index into sOSTypes.
|
---|
737 | *
|
---|
738 | * @returns index on success, UINT32_MAX if not found.
|
---|
739 | * @param pszId The OS type ID string.
|
---|
740 | */
|
---|
741 | /* static */ uint32_t Global::getOSTypeIndexFromId(const char *pszId)
|
---|
742 | {
|
---|
743 | for (size_t i = 0; i < RT_ELEMENTS(sOSTypes); ++i)
|
---|
744 | if (!RTStrICmp(pszId, Global::sOSTypes[i].id))
|
---|
745 | return (uint32_t)i;
|
---|
746 | return UINT32_MAX;
|
---|
747 | }
|
---|
748 |
|
---|
749 | /*static*/ const char *
|
---|
750 | Global::stringifyMachineState(MachineState_T aState)
|
---|
751 | {
|
---|
752 | switch (aState)
|
---|
753 | {
|
---|
754 | case MachineState_Null: return GlobalCtx::tr("Null");
|
---|
755 | case MachineState_PoweredOff: return GlobalCtx::tr("PoweredOff");
|
---|
756 | case MachineState_Saved: return GlobalCtx::tr("Saved");
|
---|
757 | case MachineState_Teleported: return GlobalCtx::tr("Teleported");
|
---|
758 | case MachineState_Aborted: return GlobalCtx::tr("Aborted");
|
---|
759 | case MachineState_AbortedSaved: return GlobalCtx::tr("Aborted-Saved");
|
---|
760 | case MachineState_Running: return GlobalCtx::tr("Running");
|
---|
761 | case MachineState_Paused: return GlobalCtx::tr("Paused");
|
---|
762 | case MachineState_Stuck: return GlobalCtx::tr("GuruMeditation");
|
---|
763 | case MachineState_Teleporting: return GlobalCtx::tr("Teleporting");
|
---|
764 | case MachineState_LiveSnapshotting: return GlobalCtx::tr("LiveSnapshotting");
|
---|
765 | case MachineState_Starting: return GlobalCtx::tr("Starting");
|
---|
766 | case MachineState_Stopping: return GlobalCtx::tr("Stopping");
|
---|
767 | case MachineState_Saving: return GlobalCtx::tr("Saving");
|
---|
768 | case MachineState_Restoring: return GlobalCtx::tr("Restoring");
|
---|
769 | case MachineState_TeleportingPausedVM: return GlobalCtx::tr("TeleportingPausedVM");
|
---|
770 | case MachineState_TeleportingIn: return GlobalCtx::tr("TeleportingIn");
|
---|
771 | case MachineState_DeletingSnapshotOnline: return GlobalCtx::tr("DeletingSnapshotOnline");
|
---|
772 | case MachineState_DeletingSnapshotPaused: return GlobalCtx::tr("DeletingSnapshotPaused");
|
---|
773 | case MachineState_OnlineSnapshotting: return GlobalCtx::tr("OnlineSnapshotting");
|
---|
774 | case MachineState_RestoringSnapshot: return GlobalCtx::tr("RestoringSnapshot");
|
---|
775 | case MachineState_DeletingSnapshot: return GlobalCtx::tr("DeletingSnapshot");
|
---|
776 | case MachineState_SettingUp: return GlobalCtx::tr("SettingUp");
|
---|
777 | case MachineState_Snapshotting: return GlobalCtx::tr("Snapshotting");
|
---|
778 | default:
|
---|
779 | AssertMsgFailedReturn(("%d (%#x)\n", aState, aState), ::stringifyMachineState(aState));
|
---|
780 | }
|
---|
781 | }
|
---|
782 |
|
---|
783 | /*static*/ const char *
|
---|
784 | Global::stringifySessionState(SessionState_T aState)
|
---|
785 | {
|
---|
786 | switch (aState)
|
---|
787 | {
|
---|
788 | case SessionState_Null: return GlobalCtx::tr("Null");
|
---|
789 | case SessionState_Unlocked: return GlobalCtx::tr("Unlocked");
|
---|
790 | case SessionState_Locked: return GlobalCtx::tr("Locked");
|
---|
791 | case SessionState_Spawning: return GlobalCtx::tr("Spawning");
|
---|
792 | case SessionState_Unlocking: return GlobalCtx::tr("Unlocking");
|
---|
793 | default:
|
---|
794 | AssertMsgFailedReturn(("%d (%#x)\n", aState, aState), ::stringifySessionState(aState));
|
---|
795 | }
|
---|
796 | }
|
---|
797 |
|
---|
798 | /*static*/ const char *
|
---|
799 | Global::stringifyStorageControllerType(StorageControllerType_T aType)
|
---|
800 | {
|
---|
801 | switch (aType)
|
---|
802 | {
|
---|
803 | case StorageControllerType_Null: return GlobalCtx::tr("Null");
|
---|
804 | case StorageControllerType_LsiLogic: return GlobalCtx::tr("LsiLogic");
|
---|
805 | case StorageControllerType_BusLogic: return GlobalCtx::tr("BusLogic");
|
---|
806 | case StorageControllerType_IntelAhci: return GlobalCtx::tr("AHCI");
|
---|
807 | case StorageControllerType_PIIX3: return GlobalCtx::tr("PIIX3");
|
---|
808 | case StorageControllerType_PIIX4 : return GlobalCtx::tr("PIIX4");
|
---|
809 | case StorageControllerType_ICH6: return GlobalCtx::tr("ICH6");
|
---|
810 | case StorageControllerType_I82078: return GlobalCtx::tr("I82078");
|
---|
811 | case StorageControllerType_LsiLogicSas: return GlobalCtx::tr("LsiLogicSas");
|
---|
812 | case StorageControllerType_USB: return GlobalCtx::tr("USB");
|
---|
813 | case StorageControllerType_NVMe: return GlobalCtx::tr("NVMe");
|
---|
814 | case StorageControllerType_VirtioSCSI: return GlobalCtx::tr("VirtioSCSI");
|
---|
815 | default:
|
---|
816 | AssertMsgFailedReturn(("%d (%#x)\n", aType, aType), ::stringifyStorageControllerType(aType));
|
---|
817 | }
|
---|
818 | }
|
---|
819 |
|
---|
820 | /*static*/ const char *
|
---|
821 | Global::stringifyDeviceType(DeviceType_T aType)
|
---|
822 | {
|
---|
823 | switch (aType)
|
---|
824 | {
|
---|
825 | case DeviceType_Null: return GlobalCtx::tr("Null");
|
---|
826 | case DeviceType_Floppy: return GlobalCtx::tr("Floppy");
|
---|
827 | case DeviceType_DVD: return GlobalCtx::tr("DVD");
|
---|
828 | case DeviceType_HardDisk: return GlobalCtx::tr("HardDisk");
|
---|
829 | case DeviceType_Network: return GlobalCtx::tr("Network");
|
---|
830 | case DeviceType_USB: return GlobalCtx::tr("USB");
|
---|
831 | case DeviceType_SharedFolder: return GlobalCtx::tr("SharedFolder");
|
---|
832 | default:
|
---|
833 | AssertMsgFailedReturn(("%d (%#x)\n", aType, aType), ::stringifyDeviceType(aType));
|
---|
834 | }
|
---|
835 | }
|
---|
836 |
|
---|
837 | /* static */ const char *
|
---|
838 | Global::stringifyGuestSessionStatus(GuestSessionStatus_T aStatus)
|
---|
839 | {
|
---|
840 | switch (aStatus)
|
---|
841 | {
|
---|
842 | case GuestSessionStatus_Starting: return GlobalCtx::tr("starting");
|
---|
843 | case GuestSessionStatus_Started: return GlobalCtx::tr("started");
|
---|
844 | case GuestSessionStatus_Terminating: return GlobalCtx::tr("terminating");
|
---|
845 | case GuestSessionStatus_Terminated: return GlobalCtx::tr("terminated");
|
---|
846 | case GuestSessionStatus_TimedOutKilled: return GlobalCtx::tr("timed out");
|
---|
847 | case GuestSessionStatus_TimedOutAbnormally: return GlobalCtx::tr("timed out, hanging");
|
---|
848 | case GuestSessionStatus_Down: return GlobalCtx::tr("killed");
|
---|
849 | case GuestSessionStatus_Error: return GlobalCtx::tr("error");
|
---|
850 | default:
|
---|
851 | AssertMsgFailedReturn(("%d (%#x)\n", aStatus, aStatus), ::stringifyGuestSessionStatus(aStatus));
|
---|
852 | }
|
---|
853 | }
|
---|
854 |
|
---|
855 | /* static */ const char *
|
---|
856 | Global::stringifyProcessStatus(ProcessStatus_T aStatus)
|
---|
857 | {
|
---|
858 | switch (aStatus)
|
---|
859 | {
|
---|
860 | case ProcessStatus_Starting: return GlobalCtx::tr("starting");
|
---|
861 | case ProcessStatus_Started: return GlobalCtx::tr("started");
|
---|
862 | case ProcessStatus_Paused: return GlobalCtx::tr("paused");
|
---|
863 | case ProcessStatus_Terminating: return GlobalCtx::tr("terminating");
|
---|
864 | case ProcessStatus_TerminatedNormally: return GlobalCtx::tr("successfully terminated");
|
---|
865 | case ProcessStatus_TerminatedSignal: return GlobalCtx::tr("terminated by signal");
|
---|
866 | case ProcessStatus_TerminatedAbnormally: return GlobalCtx::tr("abnormally aborted");
|
---|
867 | case ProcessStatus_TimedOutKilled: return GlobalCtx::tr("timed out");
|
---|
868 | case ProcessStatus_TimedOutAbnormally: return GlobalCtx::tr("timed out, hanging");
|
---|
869 | case ProcessStatus_Down: return GlobalCtx::tr("killed");
|
---|
870 | case ProcessStatus_Error: return GlobalCtx::tr("error");
|
---|
871 | default:
|
---|
872 | AssertMsgFailedReturn(("%d (%#x)\n", aStatus, aStatus), ::stringifyProcessStatus(aStatus));
|
---|
873 | }
|
---|
874 | }
|
---|
875 |
|
---|
876 | /* static */ const char *
|
---|
877 | Global::stringifyProcessWaitResult(ProcessWaitResult_T aWaitResult)
|
---|
878 | {
|
---|
879 | switch (aWaitResult)
|
---|
880 | {
|
---|
881 | case ProcessWaitResult_Start: return GlobalCtx::tr("started");
|
---|
882 | case ProcessWaitResult_Terminate: return GlobalCtx::tr("terminated");
|
---|
883 | case ProcessWaitResult_Status: return GlobalCtx::tr("status changed");
|
---|
884 | case ProcessWaitResult_Error: return GlobalCtx::tr("error");
|
---|
885 | case ProcessWaitResult_Timeout: return GlobalCtx::tr("timed out");
|
---|
886 | case ProcessWaitResult_StdIn: return GlobalCtx::tr("stdin ready");
|
---|
887 | case ProcessWaitResult_StdOut: return GlobalCtx::tr("data on stdout");
|
---|
888 | case ProcessWaitResult_StdErr: return GlobalCtx::tr("data on stderr");
|
---|
889 | case ProcessWaitResult_WaitFlagNotSupported: return GlobalCtx::tr("waiting flag not supported");
|
---|
890 | default:
|
---|
891 | AssertMsgFailedReturn(("%d (%#x)\n", aWaitResult, aWaitResult), ::stringifyProcessWaitResult(aWaitResult));
|
---|
892 | }
|
---|
893 | }
|
---|
894 |
|
---|
895 | /* static */ const char *
|
---|
896 | Global::stringifyFileStatus(FileStatus_T aStatus)
|
---|
897 | {
|
---|
898 | switch (aStatus)
|
---|
899 | {
|
---|
900 | case FileStatus_Opening: return GlobalCtx::tr("opening");
|
---|
901 | case FileStatus_Open: return GlobalCtx::tr("open");
|
---|
902 | case FileStatus_Closing: return GlobalCtx::tr("closing");
|
---|
903 | case FileStatus_Closed: return GlobalCtx::tr("closed");
|
---|
904 | case FileStatus_Down: return GlobalCtx::tr("killed");
|
---|
905 | case FileStatus_Error: return GlobalCtx::tr("error");
|
---|
906 | default:
|
---|
907 | AssertMsgFailedReturn(("%d (%#x)\n", aStatus, aStatus), ::stringifyFileStatus(aStatus));
|
---|
908 | }
|
---|
909 | }
|
---|
910 |
|
---|
911 | /* static */ const char *
|
---|
912 | Global::stringifyFsObjType(FsObjType_T aType)
|
---|
913 | {
|
---|
914 | switch (aType)
|
---|
915 | {
|
---|
916 | case FsObjType_Unknown: return GlobalCtx::tr("unknown");
|
---|
917 | case FsObjType_Fifo: return GlobalCtx::tr("fifo");
|
---|
918 | case FsObjType_DevChar: return GlobalCtx::tr("char-device");
|
---|
919 | case FsObjType_Directory: return GlobalCtx::tr("directory");
|
---|
920 | case FsObjType_DevBlock: return GlobalCtx::tr("block-device");
|
---|
921 | case FsObjType_File: return GlobalCtx::tr("file");
|
---|
922 | case FsObjType_Symlink: return GlobalCtx::tr("symlink");
|
---|
923 | case FsObjType_Socket: return GlobalCtx::tr("socket");
|
---|
924 | case FsObjType_WhiteOut: return GlobalCtx::tr("white-out");
|
---|
925 | #ifdef VBOX_WITH_XPCOM_CPP_ENUM_HACK
|
---|
926 | case FsObjType_32BitHack: RT_FALL_THROUGH();
|
---|
927 | #endif
|
---|
928 | default:
|
---|
929 | AssertMsgFailedReturn(("%d (%#x)\n", aType, aType), ::stringifyFsObjType(aType));
|
---|
930 | }
|
---|
931 | }
|
---|
932 |
|
---|
933 | /* static */ const char *
|
---|
934 | Global::stringifyPlatformArchitecture(PlatformArchitecture_T aEnmArchitecture)
|
---|
935 | {
|
---|
936 | switch (aEnmArchitecture)
|
---|
937 | {
|
---|
938 | case PlatformArchitecture_x86: return "x86";
|
---|
939 | case PlatformArchitecture_ARM: return "ARM";
|
---|
940 | default:
|
---|
941 | break;
|
---|
942 | }
|
---|
943 |
|
---|
944 | AssertFailedReturn("<None>");
|
---|
945 | }
|
---|
946 |
|
---|
947 | #if 0 /* unused */
|
---|
948 |
|
---|
949 | /*static*/ const char *
|
---|
950 | Global::stringifyStorageBus(StorageBus_T aBus)
|
---|
951 | {
|
---|
952 | switch (aBus)
|
---|
953 | {
|
---|
954 | case StorageBus_Null: return GlobalCtx::tr("Null");
|
---|
955 | case StorageBus_IDE: return GlobalCtx::tr("IDE");
|
---|
956 | case StorageBus_SATA: return GlobalCtx::tr("SATA");
|
---|
957 | case StorageBus_Floppy: return GlobalCtx::tr("Floppy");
|
---|
958 | case StorageBus_SAS: return GlobalCtx::tr("SAS");
|
---|
959 | case StorageBus_USB: return GlobalCtx::tr("USB");
|
---|
960 | case StorageBus_PCIe: return GlobalCtx::tr("PCIe");
|
---|
961 | case StorageBus_VirtioSCSI: return GlobalCtx::tr("VirtioSCSI");
|
---|
962 | default:
|
---|
963 | AssertMsgFailedReturn(("%d (%#x)\n", aBus, aBus), ::stringifyStorageBus(aBus));
|
---|
964 | }
|
---|
965 | }
|
---|
966 |
|
---|
967 | /*static*/ const char *
|
---|
968 | Global::stringifyReason(Reason_T aReason)
|
---|
969 | {
|
---|
970 | switch (aReason)
|
---|
971 | {
|
---|
972 | case Reason_Unspecified: return GlobalCtx::tr("unspecified");
|
---|
973 | case Reason_HostSuspend: return GlobalCtx::tr("host suspend");
|
---|
974 | case Reason_HostResume: return GlobalCtx::tr("host resume");
|
---|
975 | case Reason_HostBatteryLow: return GlobalCtx::tr("host battery low");
|
---|
976 | case Reason_Snapshot: return GlobalCtx::tr("snapshot");
|
---|
977 | default:
|
---|
978 | AssertMsgFailedReturn(("%d (%#x)\n", aReason, aReason), ::stringifyReason(aReason));
|
---|
979 | }
|
---|
980 | }
|
---|
981 |
|
---|
982 | #endif /* unused */
|
---|
983 |
|
---|
984 | /* vi: set tabstop=4 shiftwidth=4 expandtab: */
|
---|