qga-win: Add support of Windows Server 2022 in get-osinfo command

Signed-off-by: Kostiantyn Kostiuk <konstantin@daynix.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
This commit is contained in:
Kostiantyn Kostiuk 2021-06-21 15:50:17 +03:00 committed by Michael Roth
parent bd38ae26ce
commit c141814d4f

View File

@ -2166,9 +2166,10 @@ typedef struct _ga_win_10_0_server_t {
char const *version_id; char const *version_id;
} ga_win_10_0_server_t; } 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"}, {14393, "Microsoft Windows Server 2016", "2016"},
{17763, "Microsoft Windows Server 2019", "2019"}, {17763, "Microsoft Windows Server 2019", "2019"},
{20344, "Microsoft Windows Server 2022", "2022"},
{0, 0} {0, 0}
}; };