From patchwork Mon Jun 21 12:50:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konstantin Kostiuk X-Patchwork-Id: 12334707 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCF1FC4743C for ; Mon, 21 Jun 2021 12:52:44 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 70CD561059 for ; Mon, 21 Jun 2021 12:52:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 70CD561059 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=daynix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:42652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvJPv-0006bW-LN for qemu-devel@archiver.kernel.org; Mon, 21 Jun 2021 08:52:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvJNl-0003zs-Mu for qemu-devel@nongnu.org; Mon, 21 Jun 2021 08:50:29 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:36431) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvJNj-0004Tz-Sz for qemu-devel@nongnu.org; Mon, 21 Jun 2021 08:50:29 -0400 Received: by mail-lj1-x234.google.com with SMTP id a16so3484374ljq.3 for ; Mon, 21 Jun 2021 05:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YoLbqiyGCdQEK5KSSCA5bkMl9JyPlBcDUjtO3zA8i9U=; b=O2MoTxPYfR2PrVuRua9qxGPs4y3zX/AvkADmosEkB4aT3wNBStMtZZ/mwk8Jt8kHbm HdkcWptXeEjMGsHfEtpg6KL8JhaIMV8Kt7Hd2dt/wK+5HKsHlK0ZqaHXRqXIegW6j6Jv PBSMzBvKmid9qBybB3PL8mOgkh1qFhevAvfDZdeGlNQTQkQY2aZ6B6liuy9wXf4pISzJ BUITG8G4s+2db7dJhm+2W5fIlpIejQSBSGv9twQ+VHROwPpKgZgfAHI6JFR5GAtKbmIZ lZQUxM7PhhDRqg9K+n+pxQ24gurxHRGFjEz6g5sxuPKyPHxjkQ4BncHhR5kM6Uf7Qx14 4k/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YoLbqiyGCdQEK5KSSCA5bkMl9JyPlBcDUjtO3zA8i9U=; b=Azr5N2UyxvLJ5jD9a/SyrlCbLNPIQSQq2s8L1wrlPi5SZ6U8VdoTJL6g6AFKQbsKrm +vCZeaxVILHvBTjhT7r++COYtN14Ua6HitDWSlXwGE1F2EmQ9iFT9uzNGHteHnNNmkNk g1BM0nDTeLrFbQe60Suj0rAO7uklwZmfikYVvviDVxvR2ECAGZNZaftngV3HPztKMGJn pyD1l0kYOIQPCwZfKvO+A9/ESyhyASpWvi+dpB9ZSEXYXXZ6DkIHXwdQ4VMJLmhnzfBR v04OXLEsnpeHbaIg5vJtWBkxQLchdNRv+h9nnpzYs6uHU48RGLK6puwbkaUCsZE90NWg 2lbw== X-Gm-Message-State: AOAM530OTDMOECdMFj144HVUUe/PwEHsW8VmqE61NP5JLiry3sMhXISO ow9Gq2AEM3XE9OE8k7ntSXuAbMLHhOI+x9fX X-Google-Smtp-Source: ABdhPJxBaRBbBsiRocnzL1WuJx9H1UgdyUL3qWxTD3SmPP8NprnixiOoL9fJKoLku6i/nbu56yWzDQ== X-Received: by 2002:a2e:91d8:: with SMTP id u24mr20051552ljg.451.1624279825393; Mon, 21 Jun 2021 05:50:25 -0700 (PDT) Received: from kostyanf14nb.Dlink (93-77-45-80.vin.volia.net. [93.77.45.80]) by smtp.gmail.com with ESMTPSA id v19sm2178068ljc.78.2021.06.21.05.50.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Jun 2021 05:50:25 -0700 (PDT) From: Kostiantyn Kostiuk To: qemu-devel@nongnu.org Subject: [PATCH] qga-win: Add support of Windows Server 2022 in get-osinfo command Date: Mon, 21 Jun 2021 15:50:17 +0300 Message-Id: <20210621125017.113989-1-konstantin@daynix.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: none client-ip=2a00:1450:4864:20::234; envelope-from=konstantin@daynix.com; helo=mail-lj1-x234.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Roth Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Kostiantyn Kostiuk --- qga/commands-win32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 300b87c859..93b08fd4b5 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -2209,9 +2209,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} };