qga-win: Add support of Windows Server 2025 in get-osinfo command
PATCH 1/1 qga-win: Add support of Windows Server 2025 in get-osinfo command
Add support of Windows Server 2025 in get-osinfo command
Signed-off-by Dehan Meng <[email protected]>
--- qga/commands-win32.c | 1 + 1 file changed, 1 insertion(+)
qga/commands-win32.c +1 -0
@@ -2154,6 +2154,7 @@ static ga_win_10_0_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"}, + {26040, "MIcrosoft Windows Server 2025", "2025"}, {0, 0} };
Signature · 1 line
2.35.1
Quoted 12 lines · Dehan Meng
Add support of Windows Server 2025 in get-osinfo command
Signed-off-by Dehan Meng <[email protected]>--- qga/commands-win32.c | 1 + 1 file changed, 1 insertion(+)qga/commands-win32.c +0
-0
qga/commands-win32.c static ga_win_10_0_t const · line 2155
Quoted 2 lines
qga/commands-win32.c +0
-0@@ -2154,6 +2154,7 @@ static ga_win_10_0_t const WIN_10_0_SERVER_VERSION_MATRIX[4] = {
You don't update the array size, there are out of range elements
Quoted 11 lines
qga/commands-win32.c +1
-0{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}};
--
2.35.1
Done. thanks.
Quoted 33 lines · Konstantin Kostiuk
Quoted 12 lines · Dehan Meng
Add support of Windows Server 2025 in get-osinfo command
Signed-off-by Dehan Meng <[email protected]>--- qga/commands-win32.c | 1 + 1 file changed, 1 insertion(+)qga/commands-win32.c +0
-0qga/commands-win32.c static ga_win_10_0_t const · line 2155
Quoted 2 lines
qga/commands-win32.c +0
-0@@ -2154,6 +2154,7 @@ static ga_win_10_0_t const WIN_10_0_SERVER_VERSION_MATRIX[4] = {You don't update the array size, there are out of range elements
Quoted 11 lines
qga/commands-win32.c +1
-0{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}};
--
2.35.1