]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
The next Windows Server OS is Windows Server 2022
authorJohn Wolfe <jwolfe@vmware.com>
Fri, 11 Dec 2020 03:34:56 +0000 (19:34 -0800)
committerJohn Wolfe <jwolfe@vmware.com>
Fri, 11 Dec 2020 03:34:56 +0000 (19:34 -0800)
Originally guessed 2021 based on early data, but now Microsoft has
provided the official name and date.  Update the internals appropriately.

Add some TBD markers as a reminder to update the guest identification
code once Windows Server 2022 has an official build number.

open-vm-tools/lib/include/guest_os.h
open-vm-tools/lib/include/guest_os_tables.h

index e7a4c891d1a2ca86eff3714ed0cae79c324a39fd..1f9c9b3436c71241feb31a45a32fa6c331340e62 100644 (file)
@@ -121,7 +121,7 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
 #define ALLWINEIGHT           ALLWINEIGHTSERVER, ALLWINEIGHTCLIENT
 
 #define ALLWINTENSERVER64     BS(WIN_2016SRV_64), BS(WIN_2019SRV_64), \
-                              BS(WIN_2019SRVNEXT_64)
+                              BS(WIN_2022SRV_64)
 #define ALLWINTENSERVER       ALLWINTENSERVER64
 
 #define ALLWINTENCLIENT32     BS(WINTEN)
@@ -511,21 +511,23 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
 
 #define STR_OS_WIN_2019SRV_X64 "windows2019srv-64"
 
-/* Windows Server 2021 */
+/* Windows Server 2022 */
 
-#define STR_OS_WIN_2019SRVNEXT_X64 "windows2019srvNext-64"
+#define STR_OS_WIN_2022SRV_X64 "windows2019srvNext-64"
 
 /* THIS SPACE FOR RENT (Windows 10 official server variant names) */
 
 #define STR_OS_WIN_TENSERVER_2016_GENERIC_FULL "Windows Server 2016"
 #define STR_OS_WIN_TENSERVER_2019_GENERIC_FULL "Windows Server 2019"
+#define STR_OS_WIN_TENSERVER_2022_GENERIC_FULL "Windows Server 2022"
 
 /* Win 10 server versions are distinguished by major build number */
 #define WIN10SERVER2016_BUILD14393 14393
 #define WIN10SERVER2019_BUILD17763 17763
+#define WIN10SERVER2022_BUILDxxxxx "TBD"
 
 /* Microsoft Hyper-V */
-#define STR_OS_HYPER_V "winHyperV"
+#define STR_OS_HYPER_V      "winHyperV"
 #define STR_OS_HYPER_V_FULL "Hyper-V Server"
 
 /* Windows Future/Unknown */
index 11d14b303898c4570364da1b69eb6299318aef61..345b1b04e4a762d2ce65f98f4636efd97dd51760 100644 (file)
@@ -55,7 +55,7 @@ extern "C" {
    GOT(GUEST_OS_WINTEN_64)         /* Windows 10 x64 */                    \
    GOT(GUEST_OS_WIN_2016SRV_64)    /* Windows Server 2016 X64 */           \
    GOT(GUEST_OS_WIN_2019SRV_64)    /* Windows Server 2019 X64 */           \
-   GOT(GUEST_OS_WIN_2019SRVNEXT_64)/* Windows Server 2021 X64 */           \
+   GOT(GUEST_OS_WIN_2022SRV_64)    /* Windows Server 2022 X64 */           \
    GOT(GUEST_OS_HYPER_V)           /* Microsoft Hyper-V */                 \
    GOT(GUEST_OS_OS2)                                                       \
    GOT(GUEST_OS_ECOMSTATION)       /* OS/2 variant; 1.x */                 \