OSDN Git Service

qga-win: Add support of Windows Server 2022 in get-osinfo command
authorKostiantyn Kostiuk <konstantin@daynix.com>
Mon, 21 Jun 2021 12:50:17 +0000 (15:50 +0300)
committerMichael Roth <michael.roth@amd.com>
Mon, 12 Jul 2021 16:26:47 +0000 (11:26 -0500)
Signed-off-by: Kostiantyn Kostiuk <konstantin@daynix.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
qga/commands-win32.c

index 27baf17..a099acb 100644 (file)
@@ -2166,9 +2166,10 @@ typedef struct _ga_win_10_0_server_t {
     char const *version_id;
 } ga_win_10_0_server_t;
 
-static ga_win_10_0_server_t const WIN_10_0_SERVER_VERSION_MATRIX[3] = {
+static ga_win_10_0_server_t const WIN_10_0_SERVER_VERSION_MATRIX[4] = {
     {14393, "Microsoft Windows Server 2016",    "2016"},
     {17763, "Microsoft Windows Server 2019",    "2019"},
+    {20344, "Microsoft Windows Server 2022",    "2022"},
     {0, 0}
 };