Skip to contentSkip to conversation

update the array size

PATCH Superseded Dehan Meng 1 participant 2 messages Feb 22, 2024

lore
Share & tools
lore

Dehan Meng

author
#0 lore raw

v2 cover update the array size

v1 -> v2
update the array size "WIN_10_0_SERVER_VERSION_MATRIX" in case array out of range elements.

Dehan Meng (1):
qga-win: Add support of Windows Server 2025 in get-osinfo command

 qga/commands-win32.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.35.1
author
#1 lore raw

PATCH v2 1/1 qga-win: Add support of Windows Server 2025 in get-osinfo command

Add support of Windows Server 2025 in get-osinfo command

---
 qga/commands-win32.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
qga/commands-win32.c +2 -1
index 697c65507c..b37fa7b5ba 100644
@@ -2150,10 +2150,11 @@ typedef struct _ga_win_10_0_t {
     char const *version_id;
 } ga_win_10_0_t;
 
-static ga_win_10_0_t const WIN_10_0_SERVER_VERSION_MATRIX[4] = {
+static ga_win_10_0_t const WIN_10_0_SERVER_VERSION_MATRIX[5] = {
     {14393, "Microsoft Windows Server 2016",    "2016"},
     {17763, "Microsoft Windows Server 2019",    "2019"},
     {20344, "Microsoft Windows Server 2022",    "2022"},
+    {26040, "MIcrosoft Windows Server 2025",    "2025"},
     {0, 0}
 };
 
Signature · 1 line
2.35.1