1 | /* $Id: Global.cpp 101207 2023-09-20 15:06:31Z 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-2023 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 | /* static */
|
---|
43 | const Global::OSType Global::sOSTypes[] =
|
---|
44 | {
|
---|
45 | /* NOTE1: we assume that unknown is always the first two entries!
|
---|
46 | * NOTE2: please use powers of 2 when specifying the size of harddisks since
|
---|
47 | * '2GB' looks better than '1.95GB' (= 2000MB)
|
---|
48 | * NOTE3: if you add new guest OS types please check if the code in
|
---|
49 | * Machine::getEffectiveParavirtProvider and Console::i_configConstructorInner
|
---|
50 | * are still covering the relevant cases.
|
---|
51 | * NOTE4: platform support: always define all guest OS types w/o guarding new / different platform architectures
|
---|
52 | * with own #defines. If (and how) guest OS types will be reported is decided by the actual Main
|
---|
53 | * implementations(s). */
|
---|
54 | { "Other", "Other", "", "Other", "Other/Unknown",
|
---|
55 | VBOXOSTYPE_Unknown, VBOXOSHINT_NONE,
|
---|
56 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
57 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
58 |
|
---|
59 | { "Other", "Other", "", "Other_x64", "Other/Unknown (64-bit)",
|
---|
60 | VBOXOSTYPE_Unknown_x64, VBOXOSHINT_64BIT | VBOXOSHINT_PAE | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
|
---|
61 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
62 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
63 |
|
---|
64 | { "Other", "Other", "", "Other_arm64", "Other/Unknown (ARM 64-bit)",
|
---|
65 | VBOXOSTYPE_Unknown_arm64, VBOXOSHINT_64BIT | VBOXOSHINT_EFI,
|
---|
66 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI,
|
---|
67 | StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_VirtioSound, AudioCodecType_Null },
|
---|
68 |
|
---|
69 | { "Windows", "Microsoft Windows", "", "Windows31", "Windows 3.1",
|
---|
70 | VBOXOSTYPE_Win31, VBOXOSHINT_FLOPPY,
|
---|
71 | 1, 32, 4, 1 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
72 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
73 |
|
---|
74 | { "Windows", "Microsoft Windows", "", "Windows95", "Windows 95",
|
---|
75 | VBOXOSTYPE_Win95, VBOXOSHINT_FLOPPY,
|
---|
76 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
77 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
78 |
|
---|
79 | { "Windows", "Microsoft Windows", "", "Windows98", "Windows 98",
|
---|
80 | VBOXOSTYPE_Win98, VBOXOSHINT_FLOPPY,
|
---|
81 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
82 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
83 |
|
---|
84 | { "Windows", "Microsoft Windows", "", "WindowsMe", "Windows ME",
|
---|
85 | VBOXOSTYPE_WinMe, VBOXOSHINT_FLOPPY | VBOXOSHINT_USBTABLET,
|
---|
86 | 1, 128, 4, 4 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
87 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
88 |
|
---|
89 | { "Windows", "Microsoft Windows", "", "WindowsNT3x", "Windows NT 3.x",
|
---|
90 | VBOXOSTYPE_WinNT3x, VBOXOSHINT_NOUSB | VBOXOSHINT_FLOPPY,
|
---|
91 | 1, 64, 8, _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_BusLogic, StorageBus_SCSI,
|
---|
92 | StorageControllerType_BusLogic, StorageBus_SCSI, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
93 |
|
---|
94 | { "Windows", "Microsoft Windows", "", "WindowsNT4", "Windows NT 4",
|
---|
95 | VBOXOSTYPE_WinNT4, VBOXOSHINT_NOUSB,
|
---|
96 | 1, 128, 16, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
97 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
98 |
|
---|
99 | { "Windows", "Microsoft Windows", "", "Windows2000", "Windows 2000",
|
---|
100 | VBOXOSTYPE_Win2k, VBOXOSHINT_USBTABLET,
|
---|
101 | 1, 168, 16, 4 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
102 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
103 |
|
---|
104 | { "Windows", "Microsoft Windows", "", "WindowsXP", "Windows XP (32-bit)",
|
---|
105 | VBOXOSTYPE_WinXP, VBOXOSHINT_USBTABLET,
|
---|
106 | 1, 192, 16, 10 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82543GC, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
107 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
108 |
|
---|
109 | { "Windows", "Microsoft Windows", "", "WindowsXP_x64", "Windows XP (64-bit)",
|
---|
110 | VBOXOSTYPE_WinXP_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET,
|
---|
111 | 1, 512, 16, 10 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
112 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
113 |
|
---|
114 | { "Windows", "Microsoft Windows", "", "Windows2003", "Windows 2003 (32-bit)",
|
---|
115 | VBOXOSTYPE_Win2k3, VBOXOSHINT_USBTABLET,
|
---|
116 | 1, 512, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82543GC, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
117 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
118 |
|
---|
119 | { "Windows", "Microsoft Windows", "", "Windows2003_x64", "Windows 2003 (64-bit)",
|
---|
120 | VBOXOSTYPE_Win2k3_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET,
|
---|
121 | 1, 512, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
122 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
123 |
|
---|
124 | { "Windows", "Microsoft Windows", "", "WindowsVista", "Windows Vista (32-bit)",
|
---|
125 | VBOXOSTYPE_WinVista, VBOXOSHINT_USBTABLET | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
126 | 1, 512, 16, 25 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
127 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
128 |
|
---|
129 | { "Windows", "Microsoft Windows", "", "WindowsVista_x64", "Windows Vista (64-bit)",
|
---|
130 | VBOXOSTYPE_WinVista_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
131 | 1, 512, 16, 25 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
132 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
133 |
|
---|
134 | { "Windows", "Microsoft Windows", "", "Windows2008", "Windows 2008 (32-bit)",
|
---|
135 | VBOXOSTYPE_Win2k8, VBOXOSHINT_USBTABLET | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
136 | 1, 1024, 16, 32 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
137 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
138 |
|
---|
139 | { "Windows", "Microsoft Windows", "", "Windows2008_x64", "Windows 2008 (64-bit)",
|
---|
140 | VBOXOSTYPE_Win2k8_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
141 | 1, 2048, 16, 32 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
142 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
143 |
|
---|
144 | { "Windows", "Microsoft Windows", "", "Windows7", "Windows 7 (32-bit)",
|
---|
145 | VBOXOSTYPE_Win7, VBOXOSHINT_USBTABLET | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
146 | 1, 1024, 16, 32 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
147 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
148 |
|
---|
149 | { "Windows", "Microsoft Windows", "", "Windows7_x64", "Windows 7 (64-bit)",
|
---|
150 | VBOXOSTYPE_Win7_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
151 | 1, 2048, 16, 32 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
152 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
153 |
|
---|
154 | { "Windows", "Microsoft Windows", "", "Windows8", "Windows 8 (32-bit)",
|
---|
155 | VBOXOSTYPE_Win8, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_PAE | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
156 | 1, 1024, 128, 40 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
157 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
158 |
|
---|
159 | { "Windows", "Microsoft Windows", "", "Windows8_x64", "Windows 8 (64-bit)",
|
---|
160 | VBOXOSTYPE_Win8_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
161 | 1, 2048, 128, 40 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
162 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
163 |
|
---|
164 | { "Windows", "Microsoft Windows", "", "Windows81", "Windows 8.1 (32-bit)",
|
---|
165 | VBOXOSTYPE_Win81, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_PAE | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
166 | 1, 1024, 128, 40 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
167 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
168 |
|
---|
169 | { "Windows", "Microsoft Windows", "", "Windows81_x64", "Windows 8.1 (64-bit)",
|
---|
170 | VBOXOSTYPE_Win81_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
171 | 1, 2048, 128, 40 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
172 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
173 |
|
---|
174 | { "Windows", "Microsoft Windows", "", "Windows2012_x64", "Windows 2012 (64-bit)",
|
---|
175 | VBOXOSTYPE_Win2k12_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
176 | 1, 2048, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
177 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
178 |
|
---|
179 | { "Windows", "Microsoft Windows", "", "Windows10", "Windows 10 (32-bit)",
|
---|
180 | VBOXOSTYPE_Win10, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_PAE | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
181 | 1, 1024, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
182 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
183 |
|
---|
184 | { "Windows", "Microsoft Windows", "", "Windows10_x64", "Windows 10 (64-bit)",
|
---|
185 | VBOXOSTYPE_Win10_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
186 | 1, 2048, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
187 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
188 |
|
---|
189 | { "Windows", "Microsoft Windows", "", "Windows2016_x64", "Windows 2016 (64-bit)",
|
---|
190 | VBOXOSTYPE_Win2k16_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
191 | 1, 2048, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
192 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
193 |
|
---|
194 | { "Windows", "Microsoft Windows", "", "Windows2019_x64", "Windows 2019 (64-bit)",
|
---|
195 | VBOXOSTYPE_Win2k19_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
196 | 1, 2048, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
197 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
198 |
|
---|
199 | { "Windows", "Microsoft Windows", "", "Windows11_x64", "Windows 11 (64-bit)",
|
---|
200 | VBOXOSTYPE_Win11_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_EFI_SECUREBOOT | VBOXOSHINT_TPM2 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
201 | 2, 4096, 128, 80 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
202 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
203 |
|
---|
204 | { "Windows", "Microsoft Windows", "", "Windows2022_x64", "Windows 2022 (64-bit)",
|
---|
205 | VBOXOSTYPE_Win2k22_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_USB3 | VBOXOSHINT_WDDM_GRAPHICS,
|
---|
206 | 1, 2048, 128, 50 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
207 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
208 |
|
---|
209 | { "Windows", "Microsoft Windows", "", "WindowsNT", "Other Windows (32-bit)",
|
---|
210 | VBOXOSTYPE_WinNT, VBOXOSHINT_NONE,
|
---|
211 | 1, 512, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
212 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
213 |
|
---|
214 | { "Windows", "Microsoft Windows", "", "WindowsNT_x64", "Other Windows (64-bit)",
|
---|
215 | VBOXOSTYPE_WinNT_x64, VBOXOSHINT_64BIT | VBOXOSHINT_PAE | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET,
|
---|
216 | 1, 512, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
217 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
218 |
|
---|
219 | #define VBOX_LINUX_OSHINTS_A_X86 (VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC | VBOXOSHINT_PAE)
|
---|
220 | #define VBOX_LINUX_OSHINTS_A_X64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC | VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC)
|
---|
221 | #define VBOX_LINUX_OSHINTS_A_ARM64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_64BIT)
|
---|
222 |
|
---|
223 | #define VBOX_LINUX_OSHINTS_B_X86 (VBOXOSHINT_RTCUTC | VBOXOSHINT_PAE | VBOXOSHINT_X2APIC)
|
---|
224 | #define VBOX_LINUX_OSHINTS_B_X64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_PAE | VBOXOSHINT_X2APIC | VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC)
|
---|
225 |
|
---|
226 | #define VBOX_LINUX_OSHINTS_C_X86 (VBOXOSHINT_RTCUTC | VBOXOSHINT_X2APIC | VBOXOSHINT_PAE)
|
---|
227 | #define VBOX_LINUX_OSHINTS_C_X64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_X2APIC | VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC)
|
---|
228 |
|
---|
229 | #define VBOX_LINUX_OSHINTS_D_X86 (VBOXOSHINT_RTCUTC | VBOXOSHINT_PAE)
|
---|
230 | #define VBOX_LINUX_OSHINTS_D_X64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC)
|
---|
231 |
|
---|
232 | #define VBOX_LINUX_OSTYPE_X86(a_OStype) VBOXOSTYPE_ ## a_OStype
|
---|
233 | #define VBOX_LINUX_OSTYPE_X64(a_OStype) VBOXOSTYPE_ ## a_OStype ## _x64
|
---|
234 | #define VBOX_LINUX_OSTYPE_ARM32(a_OStype) VBOXOSTYPE_ ## a_OStype ## _arm32
|
---|
235 | #define VBOX_LINUX_OSTYPE_ARM64(a_OStype) VBOXOSTYPE_ ## a_OStype ## _arm64
|
---|
236 |
|
---|
237 | /** Base string for Linux-based OS IDs. */
|
---|
238 | #define VBOX_LINUX_OSID_STR_BASE(a_OSid) #a_OSid
|
---|
239 | /* Note: Keep this naming for legacy reasons. Always meant x86 (32-bit). */
|
---|
240 | #define VBOX_LINUX_OSID_STR_X86(a_OSid) VBOX_LINUX_OSID_STR_BASE(a_OSId)
|
---|
241 | /* Note: Keep this naming for legacy reasons. Always meant x64 (i.e. x86 64-bit). */
|
---|
242 | #define VBOX_LINUX_OSID_STR_X64(a_OSid) VBOX_LINUX_OSID_STR_BASE(a_OSid ## _64)
|
---|
243 | /* New since VBox 7.1. */
|
---|
244 | #define VBOX_LINUX_OSID_STR_ARM32(a_OSid) VBOX_LINUX_OSID_STR_BASE(a_OSid ## _arm32)
|
---|
245 | /* New since VBox 7.1. */
|
---|
246 | #define VBOX_LINUX_OSID_STR_ARM64(a_OSid) VBOX_LINUX_OSID_STR_BASE(a_OSid ## _arm64)
|
---|
247 |
|
---|
248 | #define VBOX_LINUX_SUBTYPE_TEMPLATE_X86(a_Variant, a_Id, a_Description, a_OStype, a_OSHint, a_Memory, a_Vram, a_Diskspace, \
|
---|
249 | a_NetworkAdapter, a_HDStorageController, a_HDStorageBusType) \
|
---|
250 | { "Linux", "Linux", #a_Variant, VBOX_LINUX_OSID_STR_X86(a_Id), a_Description, VBOX_LINUX_OSTYPE_X86(a_OStype), a_OSHint, \
|
---|
251 | 1, a_Memory, a_Vram, a_Diskspace * _1G64, GraphicsControllerType_VMSVGA, a_NetworkAdapter, 0, StorageControllerType_PIIX4, StorageBus_IDE, \
|
---|
252 | a_HDStorageController, a_HDStorageBusType, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_AD1980 }
|
---|
253 |
|
---|
254 | #define VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_Variant, a_Id, a_Description, a_OStype, a_OSHint, a_Memory, a_Vram, a_Diskspace, \
|
---|
255 | a_NetworkAdapter, a_HDStorageController, a_HDStorageBusType) \
|
---|
256 | { "Linux", "Linux", #a_Variant, VBOX_LINUX_OSID_STR_X64(a_Id), a_Description, VBOX_LINUX_OSTYPE_X64(a_OStype), a_OSHint, \
|
---|
257 | 1, a_Memory, a_Vram, a_Diskspace * _1G64, GraphicsControllerType_VMSVGA, a_NetworkAdapter, 0, StorageControllerType_PIIX4, StorageBus_IDE, \
|
---|
258 | a_HDStorageController, a_HDStorageBusType, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_AD1980 }
|
---|
259 |
|
---|
260 | #define VBOX_LINUX_SUBTYPE_TEMPLATE_ARM64(a_Variant, 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_Variant, VBOX_LINUX_OSID_STR_ARM64(a_Id), a_Description, VBOX_LINUX_OSTYPE_ARM64(a_OStype), a_OSHint, \
|
---|
263 | 1, a_Memory, a_Vram, a_Diskspace * _1G64, GraphicsControllerType_VMSVGA, a_NetworkAdapter, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, \
|
---|
264 | a_HDStorageController, a_HDStorageBusType, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_VirtioSound, AudioCodecType_Null }
|
---|
265 |
|
---|
266 | /* 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 */
|
---|
267 | #define VBOX_LINUX_SUBTYPE_A_X86(a_Variant, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
268 | VBOX_LINUX_SUBTYPE_TEMPLATE_X86(a_Variant, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_A_X86, a_Memory, a_Vram, a_Diskspace, \
|
---|
269 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
270 |
|
---|
271 | /* 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 */
|
---|
272 | #define VBOX_LINUX_SUBTYPE_A_X64(a_Variant, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
273 | VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_Variant, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_A_X64, a_Memory, a_Vram, a_Diskspace, \
|
---|
274 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
275 |
|
---|
276 | #define VBOX_LINUX_SUBTYPE_A_ARM64(a_Variant, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
277 | VBOX_LINUX_SUBTYPE_TEMPLATE_ARM64(a_Variant, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_A_ARM64, a_Memory, a_Vram, a_Diskspace, \
|
---|
278 | NetworkAdapterType_I82540EM, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI)
|
---|
279 |
|
---|
280 | #define VBOX_LINUX_SUBTYPE_A_WITH_OSTYPE_X86(a_Variant, a_Id, a_Description, a_OStype, a_Memory, a_Vram, a_Diskspace) \
|
---|
281 | VBOX_LINUX_SUBTYPE_TEMPLATE_X86(a_Variant, a_Id, a_Description, a_OStype, VBOX_LINUX_OSHINTS_A_X86, a_Memory, a_Vram, a_Diskspace, \
|
---|
282 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
283 |
|
---|
284 | #define VBOX_LINUX_SUBTYPE_A_WITH_OSTYPE_X64(a_Variant, a_Id, a_Description, a_OStype, a_Memory, a_Vram, a_Diskspace) \
|
---|
285 | VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_Variant, a_Id, a_Description, a_OStype, VBOX_LINUX_OSHINTS_A_X64, a_Memory, a_Vram, a_Diskspace, \
|
---|
286 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
287 |
|
---|
288 | /* 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 */
|
---|
289 | #define VBOX_LINUX_SUBTYPE_B_X86(a_Variant, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
290 | VBOX_LINUX_SUBTYPE_TEMPLATE_X86(a_Variant, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_B_X86, a_Memory, a_Vram, a_Diskspace, \
|
---|
291 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
292 |
|
---|
293 | /* 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 */
|
---|
294 | #define VBOX_LINUX_SUBTYPE_B_X64(a_Variant, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
295 | VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_Variant, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_B_X64, a_Memory, a_Vram, a_Diskspace, \
|
---|
296 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
297 |
|
---|
298 | /* Linux 32-bit sub-type template defaulting to 1 CPU with PS/2-mouse/VMSVGA/Intel-Pro1000/PIIX4+IDE DVD/AHCI+SATA disk/AC97 */
|
---|
299 | #define VBOX_LINUX_SUBTYPE_C_X86(a_Variant, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
300 | VBOX_LINUX_SUBTYPE_TEMPLATE_X86(a_Variant, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_C_X86, a_Memory, a_Vram, a_Diskspace, \
|
---|
301 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
302 |
|
---|
303 | /* Linux 64-bit sub-type template defaulting to 1 CPU with PS/2-mouse/VMSVGA/Intel-Pro1000/PIIX4+IDE DVD/AHCI+SATA disk/AC97 */
|
---|
304 | #define VBOX_LINUX_SUBTYPE_C_X64(a_Variant, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
305 | VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_Variant, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_C_X64, a_Memory, a_Vram, a_Diskspace, \
|
---|
306 | NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA)
|
---|
307 |
|
---|
308 | /* Linux 32-bit sub-type template defaulting to 1 CPU with PS/2-mouse/VMSVGA/PCnet-FASTIII/PIIX4+IDE DVD/PIIX4+IDE disk/AC97 */
|
---|
309 | #define VBOX_LINUX_SUBTYPE_D_X86(a_Variant, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
310 | VBOX_LINUX_SUBTYPE_TEMPLATE_X86(a_Variant, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_D_X86, a_Memory, a_Vram, a_Diskspace, \
|
---|
311 | NetworkAdapterType_Am79C973, StorageControllerType_PIIX4, StorageBus_IDE)
|
---|
312 |
|
---|
313 | /* Linux 64-bit sub-type template defaulting to 1 CPU with PS/2-mouse/VMSVGA/PCnet-FASTIII/PIIX4+IDE DVD/PIIX4+IDE disk/AC97 */
|
---|
314 | #define VBOX_LINUX_SUBTYPE_D_X64(a_Variant, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \
|
---|
315 | VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_Variant, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_D_X64, a_Memory, a_Vram, a_Diskspace, \
|
---|
316 | NetworkAdapterType_I82540EM, StorageControllerType_PIIX4, StorageBus_IDE)
|
---|
317 |
|
---|
318 | VBOX_LINUX_SUBTYPE_D_X86(Linux 2.2, Linux22, "Linux 2.2 (32-bit)", 64, 4, 2),
|
---|
319 | VBOX_LINUX_SUBTYPE_D_X86(Linux 2.4, Linux24, "Linux 2.4 (32-bit)", 128, 16, 2),
|
---|
320 | VBOX_LINUX_SUBTYPE_D_X64(Linux 2.4, Linux24, "Linux 2.4 (64-bit)", 1024, 16, 4),
|
---|
321 | VBOX_LINUX_SUBTYPE_A_X86(Linux 2.6, Linux26, "Linux 2.6 / 3.x / 4.x / 5.x (32-bit)", 1024, 16, 8),
|
---|
322 | VBOX_LINUX_SUBTYPE_A_X64(Linux 2.6, Linux26, "Linux 2.6 / 3.x / 4.x / 5.x (64-bit)", 1024, 16, 8),
|
---|
323 |
|
---|
324 | VBOX_LINUX_SUBTYPE_A_X86(ArchLinux, ArchLinux, "Arch Linux (32-bit)", 1024, 16, 8),
|
---|
325 | VBOX_LINUX_SUBTYPE_A_X64(ArchLinux, ArchLinux, "Arch Linux (64-bit)", 1024, 16, 8),
|
---|
326 | VBOX_LINUX_SUBTYPE_A_ARM64(ArchLinux, ArchLinux, "Arch Linux (64-bit)", 1024, 128, 8),
|
---|
327 |
|
---|
328 | VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian, "Debian (32-bit)", 2048, 16, 20),
|
---|
329 | VBOX_LINUX_SUBTYPE_A_X64(Debian, Debian, "Debian (64-bit)", 2048, 16, 20),
|
---|
330 | VBOX_LINUX_SUBTYPE_A_ARM64(Debian, Debian, "Debian (64-bit)", 2048, 128, 20),
|
---|
331 | VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian31, "Debian 3.1 Sarge (32-bit)", 1024, 16, 8), // 32-bit only
|
---|
332 | VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian4, "Debian 4.0 Etch (32-bit)", 1024, 16, 8),
|
---|
333 | VBOX_LINUX_SUBTYPE_A_X64(Debian, Debian4, "Debian 4.0 Etch (64-bit)", 1024, 16, 8),
|
---|
334 | VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian5, "Debian 5.0 Lenny (32-bit)", 1024, 16, 8),
|
---|
335 | VBOX_LINUX_SUBTYPE_A_X64(Debian, Debian5, "Debian 5.0 Lenny (64-bit)", 1024, 16, 8),
|
---|
336 | VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian6, "Debian 6.0 Squeeze (32-bit)", 1024, 16, 8),
|
---|
337 | VBOX_LINUX_SUBTYPE_A_X64(Debian, Debian6, "Debian 6.0 Squeeze (64-bit)", 1024, 16, 8),
|
---|
338 | VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian7, "Debian 7 Wheezy (32-bit)", 2048, 16, 20),
|
---|
339 | VBOX_LINUX_SUBTYPE_A_X64(Debian, Debian7, "Debian 7 Wheezy (64-bit)", 2048, 16, 20),
|
---|
340 | VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian8, "Debian 8 Jessie (32-bit)", 2048, 16, 20),
|
---|
341 | VBOX_LINUX_SUBTYPE_A_X64(Debian, Debian8, "Debian 8 Jessie (64-bit)", 2048, 16, 20),
|
---|
342 | VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian9, "Debian 9 Stretch (32-bit)", 2048, 16, 20),
|
---|
343 | VBOX_LINUX_SUBTYPE_A_X64(Debian, Debian9, "Debian 9 Stretch (64-bit)", 2048, 16, 20),
|
---|
344 | VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian10, "Debian 10 Buster (32-bit)", 2048, 16, 20),
|
---|
345 | VBOX_LINUX_SUBTYPE_A_X64(Debian, Debian10, "Debian 10 Buster (64-bit)", 2048, 16, 20),
|
---|
346 | VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian11, "Debian 11 Bullseye (32-bit)", 2048, 16, 20),
|
---|
347 | VBOX_LINUX_SUBTYPE_A_X64(Debian, Debian11, "Debian 11 Bullseye (64-bit)", 2048, 16, 20),
|
---|
348 | VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian12, "Debian 12 Bookworm (32-bit)", 2048, 16, 20),
|
---|
349 | VBOX_LINUX_SUBTYPE_A_X64(Debian, Debian12, "Debian 12 Bookworm (64-bit)", 2048, 16, 20),
|
---|
350 |
|
---|
351 | VBOX_LINUX_SUBTYPE_A_WITH_OSTYPE_X86(Fedora, Fedora, "Fedora (32-bit)", FedoraCore, 2048, 16, 15),
|
---|
352 | VBOX_LINUX_SUBTYPE_A_WITH_OSTYPE_X64(Fedora, Fedora, "Fedora (64-bit)", FedoraCore, 2048, 16, 15),
|
---|
353 |
|
---|
354 | VBOX_LINUX_SUBTYPE_A_X86(Gentoo, Gentoo, "Gentoo (32-bit)", 1024, 16, 8),
|
---|
355 | VBOX_LINUX_SUBTYPE_A_X64(Gentoo, Gentoo, "Gentoo (64-bit)", 1024, 16, 8),
|
---|
356 |
|
---|
357 | VBOX_LINUX_SUBTYPE_A_X86(Mandriva, Mandriva, "Mandriva (32-bit)", 1024, 16, 8),
|
---|
358 | VBOX_LINUX_SUBTYPE_A_X64(Mandriva, Mandriva, "Mandriva (64-bit)", 1024, 16, 8),
|
---|
359 | VBOX_LINUX_SUBTYPE_A_X86(Mandriva, OpenMandriva_Lx, "OpenMandriva Lx (32-bit)", 2048, 16, 10),
|
---|
360 | VBOX_LINUX_SUBTYPE_A_X64(Mandriva, OpenMandriva_Lx, "OpenMandriva Lx (64-bit)", 2048, 16, 10),
|
---|
361 | VBOX_LINUX_SUBTYPE_A_X86(PCLinuxOS, PCLinuxOS, "PCLinuxOS / PCLOS (32-bit)", 2048, 16, 10),
|
---|
362 | VBOX_LINUX_SUBTYPE_A_X64(PCLinuxOS, PCLinuxOS, "PCLinuxOS / PCLOS (64-bit)", 2048, 16, 10),
|
---|
363 | VBOX_LINUX_SUBTYPE_A_X86(Mageia, Mageia, "Mageia (32-bit)", 2048, 16, 10),
|
---|
364 | VBOX_LINUX_SUBTYPE_A_X64(Mageia, Mageia, "Mageia (64-bit)", 2048, 16, 10),
|
---|
365 |
|
---|
366 | VBOX_LINUX_SUBTYPE_B_X86(Oracle Linux, Oracle, "Oracle Linux (32-bit)", 2048, 16, 20),
|
---|
367 | VBOX_LINUX_SUBTYPE_B_X64(Oracle Linux, Oracle, "Oracle Linux (64-bit)", 2048, 16, 20),
|
---|
368 | VBOX_LINUX_SUBTYPE_B_X86(Oracle Linux, Oracle4, "Oracle Linux 4.x (32-bit)", 1024, 16, 8),
|
---|
369 | VBOX_LINUX_SUBTYPE_B_X64(Oracle Linux, Oracle4, "Oracle Linux 4.x (64-bit)", 1024, 16, 8),
|
---|
370 | VBOX_LINUX_SUBTYPE_B_X86(Oracle Linux, Oracle5, "Oracle Linux 5.x (32-bit)", 1024, 16, 8),
|
---|
371 | VBOX_LINUX_SUBTYPE_B_X64(Oracle Linux, Oracle5, "Oracle Linux 5.x (64-bit)", 1024, 16, 8),
|
---|
372 | VBOX_LINUX_SUBTYPE_B_X86(Oracle Linux, Oracle6, "Oracle Linux 6.x (32-bit)", 2048, 16, 10),
|
---|
373 | VBOX_LINUX_SUBTYPE_B_X64(Oracle Linux, Oracle6, "Oracle Linux 6.x (64-bit)", 2048, 16, 10),
|
---|
374 | VBOX_LINUX_SUBTYPE_B_X64(Oracle Linux, Oracle7, "Oracle Linux 7.x (64-bit)", 2048, 16, 20), // 64-bit only
|
---|
375 | VBOX_LINUX_SUBTYPE_B_X64(Oracle Linux, Oracle8, "Oracle Linux 8.x (64-bit)", 2048, 16, 20), // 64-bit only
|
---|
376 | VBOX_LINUX_SUBTYPE_B_X64(Oracle Linux, Oracle9, "Oracle Linux 9.x (64-bit)", 2048, 16, 20), // 64-bit only
|
---|
377 |
|
---|
378 | VBOX_LINUX_SUBTYPE_B_X86(Red Hat, RedHat, "Red Hat (32-bit)", 2048, 16, 20),
|
---|
379 | VBOX_LINUX_SUBTYPE_B_X64(Red Hat, RedHat, "Red Hat (64-bit)", 2048, 16, 20),
|
---|
380 | VBOX_LINUX_SUBTYPE_B_X86(Red Hat, RedHat3, "Red Hat 3.x (32-bit)", 1024, 16, 8),
|
---|
381 | VBOX_LINUX_SUBTYPE_B_X64(Red Hat, RedHat3, "Red Hat 3.x (64-bit)", 1024, 16, 8),
|
---|
382 | VBOX_LINUX_SUBTYPE_B_X86(Red Hat, RedHat4, "Red Hat 4.x (32-bit)", 1024, 16, 8),
|
---|
383 | VBOX_LINUX_SUBTYPE_B_X64(Red Hat, RedHat4, "Red Hat 4.x (64-bit)", 1024, 16, 8),
|
---|
384 | VBOX_LINUX_SUBTYPE_B_X86(Red Hat, RedHat5, "Red Hat 5.x (32-bit)", 1024, 16, 8),
|
---|
385 | VBOX_LINUX_SUBTYPE_B_X64(Red Hat, RedHat5, "Red Hat 5.x (64-bit)", 1024, 16, 8),
|
---|
386 | VBOX_LINUX_SUBTYPE_B_X86(Red Hat, RedHat6, "Red Hat 6.x (32-bit)", 1024, 16, 10),
|
---|
387 | VBOX_LINUX_SUBTYPE_B_X64(Red Hat, RedHat6, "Red Hat 6.x (64-bit)", 1024, 16, 10),
|
---|
388 | VBOX_LINUX_SUBTYPE_B_X64(Red Hat, RedHat7, "Red Hat 7.x (64-bit)", 2048, 16, 20), // 64-bit only
|
---|
389 | VBOX_LINUX_SUBTYPE_B_X64(Red Hat, RedHat8, "Red Hat 8.x (64-bit)", 2048, 16, 20), // 64-bit only
|
---|
390 | VBOX_LINUX_SUBTYPE_B_X64(Red Hat, RedHat9, "Red Hat 9.x (64-bit)", 2048, 16, 20), // 64-bit only
|
---|
391 |
|
---|
392 | VBOX_LINUX_SUBTYPE_A_X86(openSUSE, OpenSUSE, "openSUSE (32-bit)", 1024, 16, 8),
|
---|
393 | VBOX_LINUX_SUBTYPE_A_X64(openSUSE, OpenSUSE, "openSUSE (64-bit)", 1024, 16, 8),
|
---|
394 | VBOX_LINUX_SUBTYPE_A_X64(openSUSE, OpenSUSE_Leap, "openSUSE Leap (64-bit)", 2048, 16, 8), // 64-bit only
|
---|
395 | VBOX_LINUX_SUBTYPE_A_X86(openSUSE, OpenSUSE_Tumbleweed, "openSUSE Tumbleweed (32-bit)", 2048, 16, 8),
|
---|
396 | VBOX_LINUX_SUBTYPE_A_X64(openSUSE, OpenSUSE_Tumbleweed, "openSUSE Tumbleweed (64-bit)", 2048, 16, 8),
|
---|
397 | VBOX_LINUX_SUBTYPE_A_X86(SUSE, SUSE_LE, "SUSE Linux Enterprise (32-bit)", 2048, 16, 8),
|
---|
398 | VBOX_LINUX_SUBTYPE_A_X64(SUSE, SUSE_LE, "SUSE Linux Enterprise (64-bit)", 2048, 16, 8),
|
---|
399 |
|
---|
400 | VBOX_LINUX_SUBTYPE_A_X86(TurboLinux, Turbolinux, "Turbolinux (32-bit)", 384, 16, 8),
|
---|
401 | VBOX_LINUX_SUBTYPE_A_X64(TurboLinux, Turbolinux, "Turbolinux (64-bit)", 384, 16, 8),
|
---|
402 |
|
---|
403 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu, "Ubuntu (32-bit)", 2048, 16, 25),
|
---|
404 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu, "Ubuntu (64-bit)", 2048, 16, 25),
|
---|
405 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu10_LTS, "Ubuntu 10.04 LTS (Lucid Lynx) (32-bit)", 256, 16, 3),
|
---|
406 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu10_LTS, "Ubuntu 10.04 LTS (Lucid Lynx) (64-bit)", 256, 16, 3),
|
---|
407 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu10, "Ubuntu 10.10 (Maverick Meerkat) (32-bit)", 256, 16, 3),
|
---|
408 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu10, "Ubuntu 10.10 (Maverick Meerkat) (64-bit)", 256, 16, 3),
|
---|
409 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu11, "Ubuntu 11.04 (Natty Narwhal) / 11.10 (Oneiric Ocelot) (32-bit)", 384, 16, 5),
|
---|
410 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu11, "Ubuntu 11.04 (Natty Narwhal) / 11.10 (Oneiric Ocelot) (64-bit)", 384, 16, 5),
|
---|
411 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu12_LTS, "Ubuntu 12.04 LTS (Precise Pangolin) (32-bit)", 768, 16, 5),
|
---|
412 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu12_LTS, "Ubuntu 12.04 LTS (Precise Pangolin) (64-bit)", 768, 16, 5),
|
---|
413 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu12, "Ubuntu 12.10 (Quantal Quetzal) (32-bit)", 768, 16, 5),
|
---|
414 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu12, "Ubuntu 12.10 (Quantal Quetzal) (64-bit)", 768, 16, 5),
|
---|
415 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu13, "Ubuntu 13.04 (Raring Ringtail) / 13.10 (Saucy Salamander) (32-bit)", 768, 16, 5),
|
---|
416 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu13, "Ubuntu 13.04 (Raring Ringtail) / 13.10 (Saucy Salamander) (64-bit)", 768, 16, 5),
|
---|
417 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu14_LTS, "Ubuntu 14.04 LTS (Trusty Tahr) (32-bit)", 1536, 16, 7),
|
---|
418 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu14_LTS, "Ubuntu 14.04 LTS (Trusty Tahr) (64-bit)", 1536, 16, 7),
|
---|
419 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu14, "Ubuntu 14.10 (Utopic Unicorn) (32-bit)", 1536, 16, 7),
|
---|
420 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu14, "Ubuntu 14.10 (Utopic Unicorn) (64-bit)", 1536, 16, 7),
|
---|
421 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu15, "Ubuntu 15.04 (Vivid Vervet) / 15.10 (Wily Werewolf) (32-bit)", 1536, 16, 7),
|
---|
422 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu15, "Ubuntu 15.04 (Vivid Vervet) / 15.10 (Wily Werewolf) (64-bit)", 1536, 16, 7),
|
---|
423 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu16_LTS, "Ubuntu 16.04 LTS (Xenial Xerus) (32-bit)", 1536, 16, 10),
|
---|
424 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu16_LTS, "Ubuntu 16.04 LTS (Xenial Xerus) (64-bit)", 1536, 16, 10),
|
---|
425 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu16, "Ubuntu 16.10 (Yakkety Yak) (32-bit)", 1536, 16, 10),
|
---|
426 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu16, "Ubuntu 16.10 (Yakkety Yak) (64-bit)", 1536, 16, 10),
|
---|
427 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu17, "Ubuntu 17.04 (Zesty Zapus) / 17.10 (Artful Aardvark) (32-bit)", 1536, 16, 10),
|
---|
428 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu17, "Ubuntu 17.04 (Zesty Zapus) / 17.10 (Artful Aardvark) (64-bit)", 1536, 16, 10),
|
---|
429 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu18_LTS, "Ubuntu 18.04 LTS (Bionic Beaver) (32-bit)", 2048, 16, 25),
|
---|
430 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu18_LTS, "Ubuntu 18.04 LTS (Bionic Beaver) (64-bit)", 2048, 16, 25),
|
---|
431 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu18, "Ubuntu 18.10 (Cosmic Cuttlefish) (32-bit)", 2048, 16, 25),
|
---|
432 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu18, "Ubuntu 18.10 (Cosmic Cuttlefish) (64-bit)", 2048, 16, 25),
|
---|
433 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Ubuntu19, "Ubuntu 19.04 (Disco Dingo) / 19.10 (Eoan Ermine) (32-bit)", 2048, 16, 25),
|
---|
434 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu19, "Ubuntu 19.04 (Disco Dingo) / 19.10 (Eoan Ermine) (64-bit)", 2048, 16, 25),
|
---|
435 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu20_LTS, "Ubuntu 20.04 LTS (Focal Fossa) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
436 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu20, "Ubuntu 20.10 (Groovy Gorilla) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
437 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu21, "Ubuntu 21.04 (Hirsute Hippo) / 21.10 (Impish Indri) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
438 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu22_LTS, "Ubuntu 22.04 LTS (Jammy Jellyfish) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
439 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu22, "Ubuntu 22.10 (Kinetic Kudu) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
440 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Ubuntu23, "Ubuntu 23.04 (Lunar Lobster) (64-bit)", 2048, 16, 25), // 64-bit only
|
---|
441 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Lubuntu, "Lubuntu (32-bit)", 1024, 16, 10),
|
---|
442 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Lubuntu, "Lubuntu (64-bit)", 1024, 16, 10),
|
---|
443 | VBOX_LINUX_SUBTYPE_A_X86(Ubuntu, Xubuntu, "Xubuntu (32-bit)", 1024, 16, 10),
|
---|
444 | VBOX_LINUX_SUBTYPE_A_X64(Ubuntu, Xubuntu, "Xubuntu (64-bit)", 1024, 16, 10),
|
---|
445 |
|
---|
446 | VBOX_LINUX_SUBTYPE_C_X86(Xandros, Xandros, "Xandros (32-bit)", 1024, 16, 8),
|
---|
447 | VBOX_LINUX_SUBTYPE_C_X64(Xandros, Xandros, "Xandros (64-bit)", 1024, 16, 8),
|
---|
448 |
|
---|
449 | VBOX_LINUX_SUBTYPE_A_X86(Other Linux, Linux, "Other Linux (32-bit)", 256, 16, 8),
|
---|
450 | VBOX_LINUX_SUBTYPE_B_X64(Other Linux, Linux, "Other Linux (64-bit)", 512, 16, 8),
|
---|
451 |
|
---|
452 | { "Solaris", "Solaris", "", "Solaris", "Oracle Solaris 10 5/09 and earlier (32-bit)",
|
---|
453 | VBOXOSTYPE_Solaris, VBOXOSHINT_NONE,
|
---|
454 | 1, 1024, 16, 32 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
455 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
456 |
|
---|
457 | { "Solaris", "Solaris", "", "Solaris_x64", "Oracle Solaris 10 5/09 and earlier (64-bit)",
|
---|
458 | VBOXOSTYPE_Solaris_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
|
---|
459 | 1, 2048, 16, 32 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
460 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
461 |
|
---|
462 | { "Solaris", "Solaris", "", "Solaris10U8_or_later", "Oracle Solaris 10 10/09 and later (32-bit)",
|
---|
463 | VBOXOSTYPE_Solaris10U8_or_later, VBOXOSHINT_USBTABLET,
|
---|
464 | 1, 1024, 16, 32 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
465 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
466 |
|
---|
467 | { "Solaris", "Solaris", "", "Solaris10U8_or_later_x64", "Oracle Solaris 10 10/09 and later (64-bit)",
|
---|
468 | VBOXOSTYPE_Solaris10U8_or_later_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET,
|
---|
469 | 1, 2048, 16, 32 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
470 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
471 |
|
---|
472 | { "Solaris", "Solaris", "", "Solaris11_x64", "Oracle Solaris 11 (64-bit)",
|
---|
473 | VBOXOSTYPE_Solaris11_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET | VBOXOSHINT_RTCUTC,
|
---|
474 | 1, 4096, 16, 32 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
475 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
476 |
|
---|
477 | { "Solaris", "Solaris", "", "OpenSolaris", "OpenSolaris / Illumos / OpenIndiana (32-bit)",
|
---|
478 | VBOXOSTYPE_OpenSolaris, VBOXOSHINT_USBTABLET,
|
---|
479 | 1, 1024, 16, 32 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
480 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
481 |
|
---|
482 | { "Solaris", "Solaris", "", "OpenSolaris_x64", "OpenSolaris / Illumos / OpenIndiana (64-bit)",
|
---|
483 | VBOXOSTYPE_OpenSolaris_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_USBTABLET,
|
---|
484 | 1, 2048, 16, 32 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
485 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
486 |
|
---|
487 | { "BSD", "BSD", "FreeBSD", "FreeBSD", "FreeBSD (32-bit)",
|
---|
488 | VBOXOSTYPE_FreeBSD, VBOXOSHINT_NONE,
|
---|
489 | 1, 1024, 16, 2 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
490 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
491 |
|
---|
492 | { "BSD", "BSD", "FreeBSD", "FreeBSD_x64", "FreeBSD (64-bit)",
|
---|
493 | VBOXOSTYPE_FreeBSD_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
|
---|
494 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
495 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
496 |
|
---|
497 | { "BSD", "BSD", "OpenBSD", "OpenBSD", "OpenBSD (32-bit)",
|
---|
498 | VBOXOSTYPE_OpenBSD, VBOXOSHINT_HWVIRTEX,
|
---|
499 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
500 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
501 |
|
---|
502 | { "BSD", "BSD", "OpenBSD", "OpenBSD_x64", "OpenBSD (64-bit)",
|
---|
503 | VBOXOSTYPE_OpenBSD_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
|
---|
504 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
505 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
506 |
|
---|
507 | { "BSD", "BSD", "NetBSD", "NetBSD", "NetBSD (32-bit)",
|
---|
508 | VBOXOSTYPE_NetBSD, VBOXOSHINT_RTCUTC,
|
---|
509 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
510 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
511 |
|
---|
512 | { "BSD", "BSD", "NetBSD", "NetBSD_x64", "NetBSD (64-bit)",
|
---|
513 | VBOXOSTYPE_NetBSD_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC,
|
---|
514 | 1, 1024, 16, 16 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
515 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
516 |
|
---|
517 | { "OS2", "IBM OS/2", "", "OS21x", "OS/2 1.x",
|
---|
518 | VBOXOSTYPE_OS21x, VBOXOSHINT_FLOPPY | VBOXOSHINT_NOUSB | VBOXOSHINT_TFRESET,
|
---|
519 | 1, 8, 4, 500 * _1M, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
520 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
521 |
|
---|
522 | { "OS2", "IBM OS/2", "", "OS2Warp3", "OS/2 Warp 3",
|
---|
523 | VBOXOSTYPE_OS2Warp3, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_FLOPPY,
|
---|
524 | 1, 48, 4, 1 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
525 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
526 |
|
---|
527 | { "OS2", "IBM OS/2", "", "OS2Warp4", "OS/2 Warp 4",
|
---|
528 | VBOXOSTYPE_OS2Warp4, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_FLOPPY,
|
---|
529 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
530 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
531 |
|
---|
532 | { "OS2", "IBM OS/2", "", "OS2Warp45", "OS/2 Warp 4.5",
|
---|
533 | VBOXOSTYPE_OS2Warp45, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_FLOPPY,
|
---|
534 | 1, 128, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
535 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
536 |
|
---|
537 | { "OS2", "IBM OS/2", "", "OS2eCS", "eComStation",
|
---|
538 | VBOXOSTYPE_ECS, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_FLOPPY,
|
---|
539 | 1, 256, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
540 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
541 |
|
---|
542 | { "OS2", "IBM OS/2", "", "OS2ArcaOS", "ArcaOS",
|
---|
543 | VBOXOSTYPE_ArcaOS, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_FLOPPY,
|
---|
544 | 1, 1024, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
545 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
546 |
|
---|
547 | { "OS2", "IBM OS/2", "", "OS2", "Other OS/2",
|
---|
548 | VBOXOSTYPE_OS2, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_FLOPPY | VBOXOSHINT_NOUSB,
|
---|
549 | 1, 96, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
550 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
551 |
|
---|
552 | { "MacOS", "Mac OS X", "", "MacOS", "Mac OS X (32-bit)",
|
---|
553 | VBOXOSTYPE_MacOS, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE
|
---|
554 | | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
555 | 1, 2048, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
556 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
557 |
|
---|
558 | { "MacOS", "Mac OS X", "", "MacOS_x64", "Mac OS X (64-bit)",
|
---|
559 | VBOXOSTYPE_MacOS_x64, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE | VBOXOSHINT_64BIT
|
---|
560 | | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
561 | 1, 2048, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
562 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
563 |
|
---|
564 | { "MacOS", "Mac OS X", "", "MacOS106", "Mac OS X 10.6 Snow Leopard (32-bit)",
|
---|
565 | VBOXOSTYPE_MacOS106, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE
|
---|
566 | | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
567 | 1, 2048, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
568 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
569 |
|
---|
570 | { "MacOS", "Mac OS X", "", "MacOS106_x64", "Mac OS X 10.6 Snow Leopard (64-bit)",
|
---|
571 | VBOXOSTYPE_MacOS106_x64, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE | VBOXOSHINT_64BIT
|
---|
572 | | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
573 | 1, 2048, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
574 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
575 |
|
---|
576 | { "MacOS", "Mac OS X", "", "MacOS107_x64", "Mac OS X 10.7 Lion (64-bit)",
|
---|
577 | VBOXOSTYPE_MacOS107_x64, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE | VBOXOSHINT_64BIT
|
---|
578 | | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
579 | 1, 2048, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
580 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
581 |
|
---|
582 | { "MacOS", "Mac OS X", "", "MacOS108_x64", "Mac OS X 10.8 Mountain Lion (64-bit)", /* Aka "Mountain Kitten". */
|
---|
583 | VBOXOSTYPE_MacOS108_x64, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE | VBOXOSHINT_64BIT
|
---|
584 | | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
585 | 1, 2048, 16, 20 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
586 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
587 |
|
---|
588 | { "MacOS", "Mac OS X", "", "MacOS109_x64", "Mac OS X 10.9 Mavericks (64-bit)", /* Not to be confused with McCain. */
|
---|
589 | VBOXOSTYPE_MacOS109_x64, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE | VBOXOSHINT_64BIT
|
---|
590 | | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
591 | 1, 2048, 16, 25 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
592 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
593 |
|
---|
594 | { "MacOS", "Mac OS X", "", "MacOS1010_x64", "Mac OS X 10.10 Yosemite (64-bit)",
|
---|
595 | VBOXOSTYPE_MacOS1010_x64, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE | VBOXOSHINT_64BIT
|
---|
596 | | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
597 | 1, 2048, 16, 25 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
598 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
599 |
|
---|
600 | { "MacOS", "Mac OS X", "", "MacOS1011_x64", "Mac OS X 10.11 El Capitan (64-bit)",
|
---|
601 | VBOXOSTYPE_MacOS1011_x64, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE | VBOXOSHINT_64BIT
|
---|
602 | | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
603 | 1, 2048, 16, 30 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
604 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
605 |
|
---|
606 | { "MacOS", "Mac OS X", "", "MacOS1012_x64", "macOS 10.12 Sierra (64-bit)",
|
---|
607 | VBOXOSTYPE_MacOS1012_x64, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE | VBOXOSHINT_64BIT
|
---|
608 | | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
609 | 1, 2048, 16, 30 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
610 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
611 |
|
---|
612 | { "MacOS", "Mac OS X", "", "MacOS1013_x64", "macOS 10.13 High Sierra (64-bit)",
|
---|
613 | VBOXOSTYPE_MacOS1013_x64, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE | VBOXOSHINT_64BIT
|
---|
614 | | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
|
---|
615 | 1, 2048, 16, 30 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_IntelAhci, StorageBus_SATA,
|
---|
616 | StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_ICH9, IommuType_None, AudioControllerType_HDA, AudioCodecType_STAC9221 },
|
---|
617 |
|
---|
618 | { "Other", "Other", "", "DOS", "DOS",
|
---|
619 | VBOXOSTYPE_DOS, VBOXOSHINT_FLOPPY | VBOXOSHINT_NOUSB,
|
---|
620 | 1, 32, 4, 500 * _1M, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
621 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_SB16, AudioCodecType_SB16 },
|
---|
622 |
|
---|
623 | { "Other", "Other", "", "Netware", "Netware",
|
---|
624 | VBOXOSTYPE_Netware, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_FLOPPY | VBOXOSHINT_NOUSB,
|
---|
625 | 1, 512, 4, 4 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
626 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
627 |
|
---|
628 | { "Other", "Other", "", "L4", "L4",
|
---|
629 | VBOXOSTYPE_L4, VBOXOSHINT_NONE,
|
---|
630 | 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
631 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
632 |
|
---|
633 | { "Other", "Other", "", "QNX", "QNX",
|
---|
634 | VBOXOSTYPE_QNX, VBOXOSHINT_HWVIRTEX,
|
---|
635 | 1, 512, 4, 4 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
636 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
637 |
|
---|
638 | { "Other", "Other", "", "JRockitVE", "JRockitVE",
|
---|
639 | VBOXOSTYPE_JRockitVE, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_PAE,
|
---|
640 | 1, 1024, 4, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
641 | StorageControllerType_BusLogic, StorageBus_SCSI, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
642 |
|
---|
643 | { "Other", "Other", "", "VBoxBS_x64", "VirtualBox Bootsector Test (64-bit)",
|
---|
644 | VBOXOSTYPE_VBoxBS_x64, VBOXOSHINT_HWVIRTEX | VBOXOSHINT_FLOPPY | VBOXOSHINT_IOAPIC | VBOXOSHINT_PAE | VBOXOSHINT_64BIT,
|
---|
645 | 1, 128, 4, 0, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82545EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
---|
646 | StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
---|
647 | };
|
---|
648 |
|
---|
649 | size_t Global::cOSTypes = RT_ELEMENTS(Global::sOSTypes);
|
---|
650 |
|
---|
651 | /**
|
---|
652 | * Returns an OS Type ID for the given VBOXOSTYPE value.
|
---|
653 | *
|
---|
654 | * The returned ID will correspond to the IGuestOSType::id value of one of the
|
---|
655 | * objects stored in the IVirtualBox::guestOSTypes
|
---|
656 | * (VirtualBoxImpl::COMGETTER(GuestOSTypes)) collection.
|
---|
657 | */
|
---|
658 | /* static */
|
---|
659 | const char *Global::OSTypeId(VBOXOSTYPE aOSType)
|
---|
660 | {
|
---|
661 | for (size_t i = 0; i < RT_ELEMENTS(sOSTypes); ++i)
|
---|
662 | {
|
---|
663 | if (sOSTypes[i].osType == aOSType)
|
---|
664 | return sOSTypes[i].id;
|
---|
665 | }
|
---|
666 |
|
---|
667 | return sOSTypes[0].id;
|
---|
668 | }
|
---|
669 |
|
---|
670 | /**
|
---|
671 | * Maps an OS type ID string to index into sOSTypes.
|
---|
672 | *
|
---|
673 | * @returns index on success, UINT32_MAX if not found.
|
---|
674 | * @param pszId The OS type ID string.
|
---|
675 | */
|
---|
676 | /* static */ uint32_t Global::getOSTypeIndexFromId(const char *pszId)
|
---|
677 | {
|
---|
678 | for (size_t i = 0; i < RT_ELEMENTS(sOSTypes); ++i)
|
---|
679 | if (!RTStrICmp(pszId, Global::sOSTypes[i].id))
|
---|
680 | return (uint32_t)i;
|
---|
681 | return UINT32_MAX;
|
---|
682 | }
|
---|
683 |
|
---|
684 | /*static*/ const char *
|
---|
685 | Global::stringifyMachineState(MachineState_T aState)
|
---|
686 | {
|
---|
687 | switch (aState)
|
---|
688 | {
|
---|
689 | case MachineState_Null: return GlobalCtx::tr("Null");
|
---|
690 | case MachineState_PoweredOff: return GlobalCtx::tr("PoweredOff");
|
---|
691 | case MachineState_Saved: return GlobalCtx::tr("Saved");
|
---|
692 | case MachineState_Teleported: return GlobalCtx::tr("Teleported");
|
---|
693 | case MachineState_Aborted: return GlobalCtx::tr("Aborted");
|
---|
694 | case MachineState_AbortedSaved: return GlobalCtx::tr("Aborted-Saved");
|
---|
695 | case MachineState_Running: return GlobalCtx::tr("Running");
|
---|
696 | case MachineState_Paused: return GlobalCtx::tr("Paused");
|
---|
697 | case MachineState_Stuck: return GlobalCtx::tr("GuruMeditation");
|
---|
698 | case MachineState_Teleporting: return GlobalCtx::tr("Teleporting");
|
---|
699 | case MachineState_LiveSnapshotting: return GlobalCtx::tr("LiveSnapshotting");
|
---|
700 | case MachineState_Starting: return GlobalCtx::tr("Starting");
|
---|
701 | case MachineState_Stopping: return GlobalCtx::tr("Stopping");
|
---|
702 | case MachineState_Saving: return GlobalCtx::tr("Saving");
|
---|
703 | case MachineState_Restoring: return GlobalCtx::tr("Restoring");
|
---|
704 | case MachineState_TeleportingPausedVM: return GlobalCtx::tr("TeleportingPausedVM");
|
---|
705 | case MachineState_TeleportingIn: return GlobalCtx::tr("TeleportingIn");
|
---|
706 | case MachineState_DeletingSnapshotOnline: return GlobalCtx::tr("DeletingSnapshotOnline");
|
---|
707 | case MachineState_DeletingSnapshotPaused: return GlobalCtx::tr("DeletingSnapshotPaused");
|
---|
708 | case MachineState_OnlineSnapshotting: return GlobalCtx::tr("OnlineSnapshotting");
|
---|
709 | case MachineState_RestoringSnapshot: return GlobalCtx::tr("RestoringSnapshot");
|
---|
710 | case MachineState_DeletingSnapshot: return GlobalCtx::tr("DeletingSnapshot");
|
---|
711 | case MachineState_SettingUp: return GlobalCtx::tr("SettingUp");
|
---|
712 | case MachineState_Snapshotting: return GlobalCtx::tr("Snapshotting");
|
---|
713 | default:
|
---|
714 | AssertMsgFailedReturn(("%d (%#x)\n", aState, aState), ::stringifyMachineState(aState));
|
---|
715 | }
|
---|
716 | }
|
---|
717 |
|
---|
718 | /*static*/ const char *
|
---|
719 | Global::stringifySessionState(SessionState_T aState)
|
---|
720 | {
|
---|
721 | switch (aState)
|
---|
722 | {
|
---|
723 | case SessionState_Null: return GlobalCtx::tr("Null");
|
---|
724 | case SessionState_Unlocked: return GlobalCtx::tr("Unlocked");
|
---|
725 | case SessionState_Locked: return GlobalCtx::tr("Locked");
|
---|
726 | case SessionState_Spawning: return GlobalCtx::tr("Spawning");
|
---|
727 | case SessionState_Unlocking: return GlobalCtx::tr("Unlocking");
|
---|
728 | default:
|
---|
729 | AssertMsgFailedReturn(("%d (%#x)\n", aState, aState), ::stringifySessionState(aState));
|
---|
730 | }
|
---|
731 | }
|
---|
732 |
|
---|
733 | /*static*/ const char *
|
---|
734 | Global::stringifyStorageControllerType(StorageControllerType_T aType)
|
---|
735 | {
|
---|
736 | switch (aType)
|
---|
737 | {
|
---|
738 | case StorageControllerType_Null: return GlobalCtx::tr("Null");
|
---|
739 | case StorageControllerType_LsiLogic: return GlobalCtx::tr("LsiLogic");
|
---|
740 | case StorageControllerType_BusLogic: return GlobalCtx::tr("BusLogic");
|
---|
741 | case StorageControllerType_IntelAhci: return GlobalCtx::tr("AHCI");
|
---|
742 | case StorageControllerType_PIIX3: return GlobalCtx::tr("PIIX3");
|
---|
743 | case StorageControllerType_PIIX4 : return GlobalCtx::tr("PIIX4");
|
---|
744 | case StorageControllerType_ICH6: return GlobalCtx::tr("ICH6");
|
---|
745 | case StorageControllerType_I82078: return GlobalCtx::tr("I82078");
|
---|
746 | case StorageControllerType_LsiLogicSas: return GlobalCtx::tr("LsiLogicSas");
|
---|
747 | case StorageControllerType_USB: return GlobalCtx::tr("USB");
|
---|
748 | case StorageControllerType_NVMe: return GlobalCtx::tr("NVMe");
|
---|
749 | case StorageControllerType_VirtioSCSI: return GlobalCtx::tr("VirtioSCSI");
|
---|
750 | default:
|
---|
751 | AssertMsgFailedReturn(("%d (%#x)\n", aType, aType), ::stringifyStorageControllerType(aType));
|
---|
752 | }
|
---|
753 | }
|
---|
754 |
|
---|
755 | /*static*/ const char *
|
---|
756 | Global::stringifyDeviceType(DeviceType_T aType)
|
---|
757 | {
|
---|
758 | switch (aType)
|
---|
759 | {
|
---|
760 | case DeviceType_Null: return GlobalCtx::tr("Null");
|
---|
761 | case DeviceType_Floppy: return GlobalCtx::tr("Floppy");
|
---|
762 | case DeviceType_DVD: return GlobalCtx::tr("DVD");
|
---|
763 | case DeviceType_HardDisk: return GlobalCtx::tr("HardDisk");
|
---|
764 | case DeviceType_Network: return GlobalCtx::tr("Network");
|
---|
765 | case DeviceType_USB: return GlobalCtx::tr("USB");
|
---|
766 | case DeviceType_SharedFolder: return GlobalCtx::tr("SharedFolder");
|
---|
767 | default:
|
---|
768 | AssertMsgFailedReturn(("%d (%#x)\n", aType, aType), ::stringifyDeviceType(aType));
|
---|
769 | }
|
---|
770 | }
|
---|
771 |
|
---|
772 | #if 0 /* unused */
|
---|
773 |
|
---|
774 | /*static*/ const char *
|
---|
775 | Global::stringifyStorageBus(StorageBus_T aBus)
|
---|
776 | {
|
---|
777 | switch (aBus)
|
---|
778 | {
|
---|
779 | case StorageBus_Null: return GlobalCtx::tr("Null");
|
---|
780 | case StorageBus_IDE: return GlobalCtx::tr("IDE");
|
---|
781 | case StorageBus_SATA: return GlobalCtx::tr("SATA");
|
---|
782 | case StorageBus_Floppy: return GlobalCtx::tr("Floppy");
|
---|
783 | case StorageBus_SAS: return GlobalCtx::tr("SAS");
|
---|
784 | case StorageBus_USB: return GlobalCtx::tr("USB");
|
---|
785 | case StorageBus_PCIe: return GlobalCtx::tr("PCIe");
|
---|
786 | case StorageBus_VirtioSCSI: return GlobalCtx::tr("VirtioSCSI");
|
---|
787 | default:
|
---|
788 | AssertMsgFailedReturn(("%d (%#x)\n", aBus, aBus), ::stringifyStorageBus(aBus));
|
---|
789 | }
|
---|
790 | }
|
---|
791 |
|
---|
792 | /*static*/ const char *
|
---|
793 | Global::stringifyReason(Reason_T aReason)
|
---|
794 | {
|
---|
795 | switch (aReason)
|
---|
796 | {
|
---|
797 | case Reason_Unspecified: return GlobalCtx::tr("unspecified");
|
---|
798 | case Reason_HostSuspend: return GlobalCtx::tr("host suspend");
|
---|
799 | case Reason_HostResume: return GlobalCtx::tr("host resume");
|
---|
800 | case Reason_HostBatteryLow: return GlobalCtx::tr("host battery low");
|
---|
801 | case Reason_Snapshot: return GlobalCtx::tr("snapshot");
|
---|
802 | default:
|
---|
803 | AssertMsgFailedReturn(("%d (%#x)\n", aReason, aReason), ::stringifyReason(aReason));
|
---|
804 | }
|
---|
805 | }
|
---|
806 |
|
---|
807 | #endif /* unused */
|
---|
808 |
|
---|
809 | /* vi: set tabstop=4 shiftwidth=4 expandtab: */
|
---|